[refactor] move _compat23.rb left-overs to native #231
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-22.04 | |
strategy: | |
matrix: | |
ruby-version: [ jruby-9.4.8.0 ] | |
java-version: [ 8, 11, 21, 23 ] | |
distribution: [ temurin ] | |
include: | |
- java-version: 8 | |
distribution: temurin | |
ruby-version: jruby-9.2.19.0 | |
- java-version: 11 | |
distribution: temurin | |
ruby-version: jruby-9.2.20.1 | |
- java-version: 8 | |
distribution: temurin | |
ruby-version: jruby-9.3.3.0 | |
- java-version: 11 | |
distribution: temurin | |
ruby-version: jruby-9.3.13.0 | |
- java-version: 21 | |
distribution: oracle | |
ruby-version: jruby-9.3.13.0 | |
- java-version: 11 | |
distribution: zulu | |
ruby-version: jruby-9.4.5.0 | |
- java-version: 17 | |
distribution: oracle | |
ruby-version: jruby-9.4.7.0 | |
fail-fast: false | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: set up java ${{ matrix.java-version }} | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.java-version }} | |
distribution: ${{ matrix.distribution }} | |
- 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 |