Skip to content

Commit 04c71b8

Browse files
authored
Merge pull request #117 from OpenVoxProject/jruby
CI: Update jruby-10.0.2.0->jruby-10.0.5.0
2 parents a9e59b9 + 50add13 commit 04c71b8

1 file changed

Lines changed: 17 additions & 4 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,26 @@ jobs:
3838
matrix:
3939
ruby: ${{ fromJSON(needs.rubocop_and_matrix.outputs.ruby) }}
4040
include:
41-
- ruby: 'jruby-9.4.12.1'
42-
- ruby: 'jruby-10.0.2.0'
41+
- ruby: 'jruby-9.4.12.1' # used in OpenVox 8
42+
- ruby: 'jruby-10.0.5.0' # latest JRuby for Ruby 3.4 compatibility / OpenVox 9 target version
4343
runs-on: ubuntu-24.04
4444
steps:
4545
- name: Checkout current PR
4646
uses: actions/checkout@v6
47-
47+
# we explictly force Java 17 because that's the lowest one we support when building packages with ezbake
48+
- name: Set up Java 17 for JRuby 9
49+
if: contains(matrix.ruby, 'jruby-9')
50+
uses: actions/setup-java@v4
51+
with:
52+
distribution: temurin
53+
java-version: '17'
54+
# JRuby 10.0.5 requires java 21 or 25
55+
- name: Set up Java 21 for JRuby 10
56+
if: contains(matrix.ruby, 'jruby-10')
57+
uses: actions/setup-java@v4
58+
with:
59+
distribution: temurin
60+
java-version: '21'
4861
- name: Rspec checks
4962
uses: ruby/setup-ruby@v1
5063
with:
@@ -140,7 +153,7 @@ jobs:
140153
- {os: ubuntu-22.04, ruby: '3.2'} # with openssl 3
141154
- {os: ubuntu-22.04, ruby: 'jruby-9.3.14.0'}
142155
- {os: ubuntu-latest, ruby: 'jruby-9.4.12.1'}
143-
- {os: ubuntu-latest, ruby: 'jruby-10.0.2.0'}
156+
- {os: ubuntu-latest, ruby: 'jruby-10.0.5.0'}
144157
- {os: windows-2022, ruby: '2.7'}
145158
- {os: windows-2022, ruby: '3.2'} # with openssl 3
146159
runs-on: ${{ matrix.cfg.os }}

0 commit comments

Comments
 (0)