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
Try Github Actions #1918
Try Github Actions #1918
Conversation
nateberkopec
commented
Aug 19, 2019
•
edited
edited
- Ruby 2.2
- Windows
- Mac
- OpenSSL 1.0.1 & 1.0.2
- JRuby latest
- JRuby and Ruby head
Re Windows & GitHub Actions, it's not quite ready for Ruby use, mostly due to issues with the build tools (MSYS2). When that's clear what direction it's going, that will be the time to convert Windows CI, and add bundler... |
I wanted to take a look at GitHub Actions (GA), while waiting for them to work out Windows Ruby, I jumped into Ubuntu & macOS. See: https://github.com/MSP-Greg/puma/runs/204042787 yml file is at:
|
Yeah, this is probably the most interesting part. I hope they can keep the speed as they scale up. |
9f56e85
to
3ecc9ae
Compare
The following line: puma/.github/workflows/ruby.yml Line 13 in 3ecc9ae
should be: name: Ruby ${{ matrix.ruby }} and ${{ matrix.os }} |
Windows with bundler, running everything that Actions currently has: https://github.com/MSP-Greg/puma/runs/208343467 (old Windows Ruby 2.4 with 1.1.1) and https://github.com/MSP-Greg/puma/runs/208541758 (new Windows Ruby 2.4 with 1.0.2)
Regardless, have a good weekend... |
1d7e00d
to
bfa9db8
Compare
In the file you just pushed:
The same steps in my fork:
It would appear that the two line 'bundle install' If you have a minute, try changing it and see if windows compiles... I hate new CI. Spent enough time on Azure Pipelines to only have it superseded by GitHub Actions. I hope to get a Ruby Windows trunk build as a GitHub release as soon as they get Actions a little further along. |
23b95fc
to
a23fde6
Compare
Something weird is going on with Mac and |
Yes. Intermittent, more common in Actions, but occurs in Travis also. I gave up, I added the following in PR #1956 # used with thread_run to define correct 'refused' errors
def thread_run_refused(unix: false)
if unix
DARWIN ? [Errno::ENOENT, IOError] : [Errno::ENOENT]
else
DARWIN ? [Errno::ECONNREFUSED, Errno::EPIPE, EOFError] :
[Errno::ECONNREFUSED]
end
end |
The broken pipe is weird. |
As I recall, I have never seen the failure on (a lot of) Ubuntu jobs. It does fail more consistently on Actions. See Issue #1930, which was before Actions was even being used. It's something I was too worn out to test more, I hope to debug more later... |
18e73f3
to
b9e606a
Compare
No JRuby yet on Actions. Can be done with RVM. See: https://github.com/rubygems/rubygems/blob/master/.github/workflows/ubuntu-rvm.yml |
c8fb06b
to
d29cef2
Compare
d29cef2
to
27d7d2d
Compare
27d7d2d
to
d2d0f45
Compare
gonna smash that merge button and just open an issue for remaining things. |