fastruby / fast-ruby

:dash: Writing Fast Ruby :heart_eyes: -- Collect Common Ruby idioms.
https://github.com/fastruby/fast-ruby
5.67k stars 376 forks source link

Run old rubies with Ubuntu 20 in CI #221

Closed arielj closed 1 year ago

arielj commented 1 year ago

This PR fixes issues when running old Ruby versions in CI using ubuntu-latest.

The sig fault error seems to be a known issue https://github.com/ruby/setup-ruby/issues/496#issuecomment-1520667671

The workaround is to use ubuntu 20.04 for older rubies instead of ubuntu-latest.

(CI was running fine, it was cancelled to avoid flooding ips.fastruby.io with benchmarks)