-
Notifications
You must be signed in to change notification settings - Fork 80
59 lines (47 loc) · 1.47 KB
/
ci-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: rake test
on: [push, pull_request]
env:
JAVA_OPTS: '-XX:+TieredCompilation -XX:TieredStopAtLevel=1'
JRUBY_OPTS: '-J-ea'
jobs:
maven-test:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ 8, 11, 21 ]
ruby-version: [ jruby-9.4.7.0 ]
include:
- java-version: 8
ruby-version: jruby-9.2.19.0
- java-version: 11
ruby-version: jruby-9.2.20.1
- java-version: 8
ruby-version: jruby-9.3.3.0
- java-version: 11
ruby-version: jruby-9.3.13.0
- java-version: 15
ruby-version: jruby-9.3.13.0
- java-version: 11
ruby-version: jruby-9.4.5.0
- java-version: 17
ruby-version: jruby-9.4.6.0
fail-fast: false
steps:
- name: checkout
uses: actions/checkout@v2
- name: set up java ${{ matrix.java-version }}
uses: actions/[email protected]
with:
java-version: ${{ matrix.java-version }}
- name: set up ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
- name: install bundler
run: jruby -S gem install bundler -v "~>2.2.28"
- name: bundle install
run: jruby -S bundle install
- name: rake test_prepare
run: jruby -rbundler/setup -S rake test_prepare
- name: rake test
run: jruby -rbundler/setup -S rake test