Fixes to update Warbler to modern libs and JRuby #133
Workflow file for this run
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - /-dev|-feature|-fix/ | |
| pull_request: | |
| env: | |
| JRUBY_OPTS: -J-Xmx896M | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-22.04 | |
| strategy: | |
| matrix: | |
| java-version: [8, 21] | |
| ruby-version: [jruby-9.4, jruby-10] | |
| bundler-version: [2.6.3] | |
| task: ['', integration] | |
| exclude: | |
| # JRuby head (10) requires Java 21 minimum | |
| - ruby-version: jruby-head | |
| java-version: 8 | |
| fail-fast: false | |
| env: | |
| # speed up all those subprocesses | |
| JRUBY_OPTS: --dev | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v3 | |
| - name: Set up java ${{ matrix.java-version }} | |
| uses: actions/setup-java@v3 | |
| with: | |
| distribution: zulu | |
| java-version: ${{ matrix.java-version }} | |
| - name: Set up ${{ matrix.ruby-version }} | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby-version }} | |
| - name: Install dependencies | |
| run: bundle _${{ matrix.bundler-version }}_ install --jobs=3 --retry=3 | |
| - name: Run tests | |
| run: bundle exec rake ${{ matrix.TASK }} |