Skip to content

Commit 8aad9cd

Browse files
committed
Add jruby-10.0.5.0 to CI test matrix with Oracle JDK 21
Add jruby-10.0.5.0 to the `test` workflow matrix so the Oracle JDBC code path is exercised on every push. JRuby 10 targets Java 21 bytecode (class file version 65) and Oracle's ojdbc17.jar is certified with JDK 17 and JDK 21, so install Oracle JDK 21 explicitly via actions/setup-java for JRuby matrix entries (scoped via `if: startsWith(matrix.ruby, 'jruby')`). Picking Oracle JDK matches the distribution most users run in production alongside the Oracle JDBC driver, and Oracle JDK 21 is available at no cost under the NFTC license.
1 parent 11b3a30 commit 8aad9cd

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ jobs:
1515
'4.0',
1616
'3.4',
1717
'3.3',
18-
'3.2'
18+
'3.2',
19+
'jruby-10.0.5.0',
1920
]
2021
env:
2122
ORACLE_HOME: /opt/oracle/instantclient_23_26
@@ -42,6 +43,12 @@ jobs:
4243
4344
steps:
4445
- uses: actions/checkout@v6
46+
- name: Set up Java
47+
if: startsWith(matrix.ruby, 'jruby')
48+
uses: actions/setup-java@v4
49+
with:
50+
distribution: oracle
51+
java-version: '21'
4552
- name: Set up Ruby
4653
uses: ruby/setup-ruby@v1
4754
with:

0 commit comments

Comments
 (0)