Benoit Daloze
0b2c3ee702
Add test for when there is no Gemfile
2022-08-27 10:29:11 +02:00
Benoit Daloze
0a29871fe2
which rake does not work on Windows on Ruby 2.5+
2022-08-23 20:43:55 +02:00
Benoit Daloze
3804ad4ff2
Run which test on all platforms in shell: bash
2022-08-21 12:42:53 +02:00
Benoit Daloze
87ccb7599f
Workaround the CRuby bug of bin/bundle in bash on Windows
...
* Fixes https://github.com/ruby/setup-ruby/issues/371
* See https://bugs.ruby-lang.org/issues/18970
2022-08-20 16:14:03 +02:00
Benoit Daloze
19b31c7064
Test that bundle is available in the bash shell
2022-08-20 16:04:04 +02:00
Benoit Daloze
6148f408d3
Test on ubuntu-22.04
2022-08-06 16:55:13 +02:00
Benoit Daloze
3882fb634e
Test gem github: in a Gemfile
2022-07-29 18:16:42 +02:00
Benoit Daloze
d6ebfae201
Use read-only permissions for the test workflow
2022-07-27 19:16:35 +02:00
Benoit Daloze
2489e28c66
Use actions/checkout@v3 in workflows
2022-05-31 11:17:28 +02:00
MSP-Greg
356354c8aa
Actions - show vcpkg list for mswin
2022-05-17 18:24:10 +02:00
Benoit Daloze
a7439cf424
Add support for macos-12
2022-05-16 12:08:36 +02:00
Benoit Daloze
b9675e15ad
Use quotes consistently for Ruby versions in docs
...
* To avoid issues from https://github.com/actions/runner/issues/849
2022-05-15 13:26:47 +02:00
Benoit Daloze
57a3395c80
Support some Rubies on ubuntu-22.04
2022-05-15 13:05:40 +02:00
MSP-Greg
d02b65e726
Actions - add windows-2022 mswin job
2022-05-02 20:51:22 +02:00
Benoit Daloze
dcbc29fae9
Shorten test descriptions
2022-05-02 20:31:14 +02:00
Benoit Daloze
3f53c4ecc2
Add tests
2022-05-02 20:23:57 +02:00
Jason Frey
1a68550f2e
Fix bundler: with a minor version installing the wrong version
...
If passed `bundler: 2.2`, setup-ruby would install bundler 2.3, because
it would generate a constraint that looks like `~> 2.2`. This
unexpectedly installs the latest of the 2.x series, but the expectation
is that it would install the latest of the 2.2.x series.
Fixes #304
2022-04-05 18:04:27 +02:00
Benoit Daloze
cca23415f7
Fix test, 3.1.1 has a newer RubyGems
2022-02-18 20:50:26 +01:00
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