Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI - use SU Ruby versions, master/trunk? #122

Open
MSP-Greg opened this issue Jun 22, 2019 · 12 comments
Open

CI - use SU Ruby versions, master/trunk? #122

MSP-Greg opened this issue Jun 22, 2019 · 12 comments

Comments

@MSP-Greg
Copy link

Thom,

Re Appveyor, maybe limit it to Ruby versions that SU uses? Doesn't necessarily correspond to what stand-alone versions a person may have... I could add master (2.7) also.

Re Travis, want to test on MacOS/OSX?

JFYI, works with RuboCop 0.67.x, but not 0.68.x...

@thomthom
Copy link
Member

This gem doesn't run inside SketchUp. I've had Ruby versions on my system that doesn't relate to SU Ruby at all. So I set up CI to test a good range to ensure it's flexible in terms of what system it runs on.

Re Travis, want to test on MacOS/OSX?

Yea - that would also be good. I just never got around to set it up. Guess I should set up an account for SketchUp on Travis?

@MSP-Greg
Copy link
Author

Ok. Might not be today, I'll see if I can set up Travis in my fork. Maybe add newer Ruby versions to both...

@thomthom
Copy link
Member

That'd be great!

(Btw, the SketchUp office is shut down the 4th July week. And I'll be gone for three weeks as of 1st July. So there'll be little or no response during that time.)

@thomthom
Copy link
Member

FYI, I might try out the new GitHub CI system. See how that compares. Looks like it allows parallel runs when doing matrix testing. Might speed up test results.

@MSP-Greg
Copy link
Author

I've been working with it. Depends on the OS, but generally, only Ruby versions 2.4 and later are available. I think that holds true for macOS & Windows.

@thomthom
Copy link
Member

hmmm...

I see Ubuntu have the best Ruby version range.

Windows has 2.4-2.6, while Mac has only 2.6. That's disappointing. I hope that improve.

@MSP-Greg
Copy link
Author

MSP-Greg commented Aug 30, 2019

They're revising things quickly, doc's may be out of date.

See https://github.com/MSP-Greg/actions-windows/runs/207325121

@thomthom
Copy link
Member

Yea, they appear to be moving quickly. Think it's powered by AzureDevOps in the background. (Or at least using similar tech.) Been using that for a while for C++ projects and that's been very good.

(Btw, that link gives me a 404)

@MSP-Greg
Copy link
Author

(Btw, that link gives me a 404)

Sorry, I guess I made the repo private, thinking I'd change it to public later...

At present, Windows is 2.4 thru 2.6, and there are some issues with MSYS2. If you don't need it for your CI, things are probably ok.

@MSP-Greg
Copy link
Author

Okay, made a public repo. Ubuntu 16.04 & 18.04, macOS, Windows

https://github.com/MSP-Greg/github-actions-ruby-info/runs/208573764

@thomthom
Copy link
Member

thomthom commented Sep 2, 2019

Those actions you got there, is that testing all the Ruby versions GitHub CI offers?

@MSP-Greg
Copy link
Author

MSP-Greg commented Sep 2, 2019

At present, yes. Since it's still in beta, subject to change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants