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
Benoit Daloze
23b9735206
Fix checks for head versions
...
* Always use common.isHeadVersion().
2020-05-15 13:01:01 +02:00
Benoit Daloze
002b15eeca
Add support for ruby master debug builds
2020-05-13 23:48:52 +02:00
Benoit Daloze
d4032b551d
The release workflow needs a full checkout
2020-04-18 14:01:20 +02:00
Benoit Daloze
da846ef6db
Add a workflow to automatically bump the v1 branch when publishing a release
2020-04-18 13:51:50 +02:00
Benoit Daloze
1fe99df431
Rename CI job back to test
2020-04-18 13:36:48 +02:00
Benoit Daloze
463c3a8161
Simplify conditions
2020-04-05 14:46:21 +02:00
Benoit Daloze
63190648f4
Add some spacing in workflow
2020-04-05 14:44:43 +02:00
Benoit Daloze
aec70617e0
Let CI run on pushes to master
2020-04-05 14:43:13 +02:00
Benoit Daloze
759c98774b
Merge CI in a single workflow with the new include syntax
2020-04-05 14:25:26 +02:00
Benoit Daloze
24d7979773
Simplify os syntax in CI to avoid so many '-latest'
2020-04-05 14:18:41 +02:00
Benoit Daloze
9f0a9acc35
Test 2.6.6 in CI
2020-04-03 23:32:52 +02:00
Benoit Daloze
e16528e678
Test all Ruby minor versions
...
* Skip tests on the older ubuntu-16.04 to have a reasonable number of jobs
2020-04-01 00:10:54 +02:00
MSP-Greg
c4665148cf
Actions - add gcc --version output for MinGW Rubies
2020-03-28 14:00:06 +01:00
Benoit Daloze
047ed419ae
Remove eslint dev dependency
...
* The many dependencies seem to have some security vulnerabilities.
2020-03-21 12:29:35 +01:00
Benoit Daloze
aea40d1b5a
Add JRuby 9.1.17.0
2020-03-11 11:38:17 +01:00
Benoit Daloze
de6b99f08a
Check generated files are up to date in CI
2020-03-10 11:41:27 +01:00
Benoit Daloze
8363b99194
The name of the step should be enough to describe it
2020-03-07 13:44:03 +01:00
MSP-Greg
475e32ed3f
test.yml - Add which/where, mswin vcvars*.bat ENV
...
1. Add which/where for ruby and rake
2. Remove call %VCVARS% code for mswin
3. Loosen some step 'if' checks
2020-03-07 13:41:58 +01:00
Benoit Daloze
d2b72024f1
Split ruby -v and compiler version
...
* It's not always gcc, can be e.g. clang too
2020-02-24 22:16:19 +01:00
Benoit Daloze
78fd200603
Reorder jobs to test in order of increasing version numbers
2020-02-24 22:15:24 +01:00
Benoit Daloze
ca7fe3d91f
Use consistent array indentation in YAML
2020-02-24 22:09:17 +01:00
Benoit Daloze
de68645eec
Trigger CI on PRs
2020-02-24 22:03:23 +01:00
MSP-Greg
20324f7e34
Add ruby-loco mingw and mswin
...
1. Add ruby-loco mingw and mswin
2. Split workflow jobs into common and specials
3. Adjust workflow for mswin - 'ridk version' & 'c extension' steps
2020-02-24 22:01:08 +01:00
Benoit Daloze
cdeaf534b7
Use more concise job names
2020-02-16 16:45:43 +01:00
Benoit Daloze
3197025b07
Add support for jruby-head
2020-02-16 16:39:10 +01:00
Benoit Daloze
3d6280ad19
Add support for .tool-versions
2020-02-16 14:49:55 +01:00
Benoit Daloze
53b22d2360
Don't run CI twice when merging to master
...
* It already ran on the feature branch.
2020-02-09 23:38:56 +01:00
Benoit Daloze
30011b6444
Cleanup PATH for JRuby on Windows
...
* That way we remove the default Ruby in PATH which was confusing.
2020-02-08 22:14:50 +01:00
Benoit Daloze
f422c055c3
Add support for Ruby 2.2
...
* Use Ruby 2.2.6 from RubyInstaller on Windows since there is no more
recent release of Ruby 2.2.
2020-02-06 15:20:13 +01:00
Benoit Daloze
48481806ad
Update to latest builds fixing "Insecure world writable dir" warnings
...
* Update to Rubinius 4.14 which fixes some segfaults.
2020-02-02 16:33:46 +01:00
Benoit Daloze
58366f2203
Reduce the test matrix as it's getting too large
...
* It was 40 checks and a lot of queuing on macOS.
* Version parsing is stable and can be tested more directly.
* 2.6.5 was tested twice: .ruby-version and explicitly.
2020-02-01 18:31:35 +01:00