Skip to content

Commit 84ce902

Browse files
committed
ci: add -nojvm job
1 parent 1ba8ac4 commit 84ce902

File tree

2 files changed

+37
-1
lines changed

2 files changed

+37
-1
lines changed

.github/workflows/ci-nojvm.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: ci-nojvm
2+
3+
on:
4+
push:
5+
paths:
6+
- "**.m"
7+
- ".github/workflows/ci-nojvm.yml"
8+
9+
jobs:
10+
11+
NoJVM:
12+
timeout-minutes: 60
13+
runs-on: ${{ matrix.os }}
14+
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
os: [ubuntu-latest]
19+
release: [R2024b]
20+
21+
steps:
22+
23+
- name: Install MATLAB
24+
uses: matlab-actions/setup-matlab@v2
25+
with:
26+
release: ${{ matrix.release }}
27+
28+
- uses: actions/checkout@v4
29+
30+
- name: Run Matlab tests (buildtool)
31+
timeout-minutes: 10
32+
uses: matlab-actions/run-build@v2
33+
with:
34+
startup-options: -nojvm

Readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ For reference, we further
2222
[discuss Java implementation details](./Readme_java.md).
2323
If Matlab was started with
2424
[-nojvm](https://www.mathworks.com/help/matlab/matlab_env/commonly-used-startup-options.html),
25-
many Matlab-stdlib functions do not work.
25+
some Matlab-stdlib functions do not work.
26+
We have a CI job that tests without JVM.
27+
2628

2729

2830
## Acknowledgments

0 commit comments

Comments
 (0)