Skip to content

Commit ffd6ed6

Browse files
committed
ci: set JDK version 11
That fixed the issue with stdlib.samepath on my laptop for Matlab < R2025a
1 parent 39b8d02 commit ffd6ed6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,15 @@ jobs:
5656
- name: Check CodeIssues
5757
uses: ./.github/workflows/composite-check
5858

59+
- name: matlab_jenv JDK 11
60+
if: ${{ matrix.release < 'R2025a' && !startsWith(matrix.release, 'latest') }}
61+
run: matlab_jenv ${JAVA_HOME_11_X64}
62+
63+
- name: Matlab tell Java Version
64+
uses: matlab-actions/run-command@v2
65+
with:
66+
command: "disp(stdlib.java_vendor()); disp(stdlib.java_version())"
67+
5968
- name: Non-MEX tests
6069
uses: ./.github/workflows/composite-nomex
6170

0 commit comments

Comments
 (0)