diff --git a/.github/workflows/ci-nojvm.yml b/.github/workflows/ci-nojvm.yml new file mode 100644 index 0000000..d2294fb --- /dev/null +++ b/.github/workflows/ci-nojvm.yml @@ -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 diff --git a/Readme.md b/Readme.md index 0952d02..6012b86 100644 --- a/Readme.md +++ b/Readme.md @@ -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