David Rodríguez
8781aa98b4
Tweak rubygems input behavior
...
When a fixed version is passed, it should be the minimum RubyGems
version for the whole matrix, i.e., RubyGems should not be dowgraded
past the default version of the oldest Ruby in the matrix.
2022-01-23 11:55:32 +01:00
David Rodríguez
c3f0cb18af
Add a new input to optionally update RubyGems
2022-01-23 11:55:32 +01:00
Benoit Daloze
180e1d1f1c
windows-2016 is deprecated and windows-2022 is now supported
...
* Stop testing on windows-2016 to reduce the test matrix size to something reasonable.
2022-01-13 20:27:11 +01:00
MSP-Greg
70ec766ec5
Actions - add windows-2022 jobs
2022-01-13 19:25:34 +01:00
MSP-Greg
b0aab3e1cf
Add ruby-loco ucrt build
2022-01-13 19:25:34 +01:00
MSP-Greg
6cc535991c
Actions - Add Windows-2022 with ruby-head & ruby-mingw
2022-01-13 19:25:34 +01:00
Koichi ITO
bee16c98fd
Support Ruby 3.1.0 for Windows
...
Follow up to https://github.com/oneclick/rubyinstaller2/issues/255#issuecomment-1003266597 .
This PR adds Ruby 3.1.0 to windows-version.js.
2022-01-10 17:52:23 +01:00
Benoit Daloze
313811148f
Previews are not available on Windows
2021-11-24 19:19:52 +01:00
Benoit Daloze
f20f1eae72
Test 3.1 too
2021-11-11 13:19:00 +01:00
Benoit Daloze
7edf159e98
Add support for truffleruby+graalvm
...
* Using ruby-build to avoid duplicating too much logic.
2021-08-07 20:05:23 +02:00
Benoit Daloze
ae9cb3b565
Add Ruby 1.9 on Linux and macOS
...
* On Windows there are no 64-bit builds of Ruby 1.9.
* Fix floatVersion() for head versions.
* Use floatVersion() in more cases instead of regexps.
* Rely on ~/.gemrc to not install gem docs.
2021-08-01 14:56:11 +02:00
Benoit Daloze
e08bf35edf
Ensure the typical bundle exec rake works in all cases
2021-07-29 13:24:06 +02:00
Benoit Daloze
ee30953387
Use an absolute path for BUNDLE_GEMFILE in tests too
2021-07-15 22:58:01 +02:00
Benoit Daloze
189661fc29
Remove workflow schedule as it causes the workflow to be disabled in forks
2021-07-07 22:35:50 +02:00
MSP-Greg
9f177f2b7c
Improve Path info in CI, add workflow_dispatch
2021-06-27 13:40:18 +02:00
Robin Wallin
517a3b1b36
Enable sassc test on JRuby on Windows
...
9.2.18.0 has been released, so this should work now.
2021-06-10 11:24:56 +02:00
Benoit Daloze
1328335dba
Cleanup
2021-06-06 11:03:36 +02:00
Benoit Daloze
ea774f6ee1
CI: show gem env
2021-06-06 11:03:29 +02:00
Benoit Daloze
77ca66ce27
Add 2.0.0 on Windows too
2021-05-31 22:18:27 +02:00
Filipe Brandenburger
fd1a6a00ca
Mention Ruby 2.0 in README and add it to CI
2021-05-31 22:07:29 +02:00
Benoit Daloze
d320226fe2
Automatically pick the latest version of 2.6 for testing
...
* 2.6.7 is not yet available on Windows
2021-04-05 19:47:58 +02:00
Benoit Daloze
d2f535c1ed
Add Ruby 2.5.9, 2.6.7, 2.7.3 and 3.0.1
...
* Simplify list of supported CRuby versions.
2021-04-05 19:39:06 +02:00
Benoit Daloze
ad65390c0a
Disable sassc test on JRuby on Windows as it fails on 9.2.17.0
...
* See https://github.com/jruby/jruby/issues/6648
2021-04-02 11:47:35 +02:00
Benoit Daloze
6e288cd651
TruffleRuby 21.0.0 works on macOS 11.0
2021-01-20 16:42:36 +01:00
Benoit Daloze
5aaa89ff0d
Automatically install libxml2-dev libxslt-dev on TruffleRuby if needed
...
* This is a special case, because TruffleRuby needs an extra system
dependency that other Rubies do not, and GitHub runners do not have
these packages installed by default, while TravisCI has them.
2021-01-09 14:48:58 +01:00
Benoit Daloze
3460195737
Update exact Bundler version test
...
* So that we test it does not pick the next patch version (2.2.4).
* See https://github.com/ruby/setup-ruby/issues/138
2021-01-08 21:06:57 +01:00
MSP-Greg
9aeedd9a81
Update windows-version.js with 3.0.0, add Windows 3.0.0 to CI
2020-12-28 12:40:07 +01:00
Benoit Daloze
ec4649be90
Add test for a Gemfile depending on Bundler 1
2020-12-22 11:46:12 +01:00
Benoit Daloze
0e7d36a67f
Add test using BUNDLE_GEMFILE
2020-12-21 21:12:42 +01:00
Benoit Daloze
07b100f2a1
Reduce the number of CI jobs since it is becoming impractical
...
* It was > 100 jobs and the GitHub limits to 100 jobs.
2020-12-12 15:17:54 +01:00
Benoit Daloze
c101335f33
Add test checking using an exact Bundler version works
2020-12-11 14:46:33 +01:00
Benoit Daloze
fd1d77b75c
GitHub Actions parses 3.0 as '3', so use quotes
...
* And adapt excludes.
2020-12-05 13:14:51 +01:00
Benoit Daloze
2a0be7a409
Try stable versions first, and then try non-head versions
...
* Fixes https://github.com/ruby/setup-ruby/issues/115
2020-12-05 12:52:21 +01:00
Benoit Daloze
43bb24d212
Run lint explicitly on Ubuntu 20.04 to avoid warning
2020-11-20 13:00:18 +01:00
Benoit Daloze
0c4183e8b8
truffleruby-head works fine on macOS Big Sur now
2020-11-20 12:39:46 +01:00
Benoit Daloze
a699edbce6
Add test for ruby-3.0.0-preview1
2020-11-19 00:33:41 +01:00
Benoit Daloze
9bc07a3af0
No builds of truffleruby{,-head} on macos-11.0 yet
2020-11-13 10:48:04 +01:00
Benoit Daloze
59aafb8612
Add support for macos-11.0
2020-11-13 10:33:21 +01:00
Benoit Daloze
efda314f4a
Remove Rubinius support
...
* Fixes https://github.com/ruby/setup-ruby/issues/101
2020-11-09 12:50:25 +01:00
Benoit Daloze
5da31b45d7
Revert "Test installing rake to check RubyGems recognizes the executable as safe to override"
...
* This reverts commit 35f0af38a7 .
* It fails for some cases like Ruby <= 2.2 and on some RubyInstaller builds,
see https://github.com/ruby/setup-ruby/issues/98#issuecomment-723468255
* Most users will use Bundler to install rake, and that already works fine.
2020-11-07 17:53:13 +01:00
Benoit Daloze
35f0af38a7
Test installing rake to check RubyGems recognizes the executable as safe to override
2020-11-01 16:54:38 +01:00
Benoit Daloze
b9ca796ede
Print RbConfig values in tests
2020-10-23 15:58:23 +02:00
Benoit Daloze
4de6eb91a8
Update test.yml
2020-10-22 14:12:09 +02:00
Benoit Daloze
9ec93a2370
Print the full $PATH with bash to help debugging
2020-09-03 13:21:50 +02:00
MSP-Greg
a096b998ad
Add Actions 'bash test' and 'Windows JRuby' (gem install sassc) steps
2020-09-03 12:13:49 +02:00
Benoit Daloze
bdfdb53a44
Try to fix quoting issue on Windows
2020-08-20 15:29:19 +02:00
Benoit Daloze
842f7a91c4
Fix the open-uri test to work on all versions
...
* open-uri no longer makes #open open URLs on MRI 2.8 dev
2020-08-19 16:43:17 +02:00
Holger Just
5a76bd6a5f
Add support for Ruby 2.1 ( #71 )
2020-07-16 22:23:31 +02:00
Benoit Daloze
d57231c9a3
Implement automatic bundle install and caching
...
* Not yet enabled by default.
2020-06-14 13:22:16 +02:00
Johnny Willemsen
a43803ce44
Test all virtual environments, not just the latest, and added crontab ( #60 )
2020-06-11 13:15:53 +02:00