Skip to content

Commit

Permalink
ci: add -nojvm job
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Sep 30, 2024
1 parent 1ba8ac4 commit 84ce902
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
34 changes: 34 additions & 0 deletions .github/workflows/ci-nojvm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: ci-nojvm

on:
push:
paths:
- "**.m"
- ".github/workflows/ci-nojvm.yml"

jobs:

NoJVM:
timeout-minutes: 60
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
release: [R2024b]

steps:

- name: Install MATLAB
uses: matlab-actions/setup-matlab@v2
with:
release: ${{ matrix.release }}

- uses: actions/checkout@v4

- name: Run Matlab tests (buildtool)
timeout-minutes: 10
uses: matlab-actions/run-build@v2
with:
startup-options: -nojvm
4 changes: 3 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ For reference, we further
[discuss Java implementation details](./Readme_java.md).
If Matlab was started with
[-nojvm](https://www.mathworks.com/help/matlab/matlab_env/commonly-used-startup-options.html),
many Matlab-stdlib functions do not work.
some Matlab-stdlib functions do not work.
We have a CI job that tests without JVM.



## Acknowledgments
Expand Down

0 comments on commit 84ce902

Please sign in to comment.