File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+ on : [push, pull_request]
3
+
4
+ jobs :
5
+ build :
6
+ runs-on : ubuntu-latest
7
+ continue-on-error : ${{ matrix.experimental }}
8
+
9
+ strategy :
10
+ fail-fast : false
11
+ matrix :
12
+ ruby : [2.7, jruby, jruby-head, truffleruby-head]
13
+ experimental : [false]
14
+ include :
15
+ - ruby : head
16
+ experimental : true
17
+ - ruby : truffleruby
18
+ experimental : true
19
+
20
+ env :
21
+ JAVA_OPTS : ' -Xmx1024m'
22
+ RUBYOPT : ' -w'
23
+ JRUBY_OPTS : ' --dev'
24
+
25
+ name : " Tests: Ruby ${{ matrix.ruby }}"
26
+ steps :
27
+ - name : Clone Repo
28
+ uses : actions/checkout@v2
29
+ - name : Setup system Ruby ${{ matrix.ruby }}
30
+ uses : ruby/setup-ruby@v1
31
+ with :
32
+ ruby-version : ${{ matrix.ruby }}
33
+ bundler-cache : true # runs 'bundle install' and caches installed gems automatically
34
+ - name : Run tests
35
+ run : |
36
+ gem install bundler --version 1.17.3
37
+ echo JAVA_OPTS: $JAVA_OPTS
38
+ bundle exec rake ci
You can’t perform that action at this time.
0 commit comments