Skip to content

ci: add windows

ci: add windows #5

Workflow file for this run

name: matlab
env:
CTEST_NO_TESTS_ACTION: error
CMAKE_BUILD_PARALLEL_LEVEL: 4
CTEST_PARALLEL_LEVEL: 0
on:
push:
paths:
- "**.m"
- "**.cmake"
- "**/CMakeLists.txt"
- ".github/workflows/ci-matlab.yml"
jobs:
unix:
strategy:
matrix:
os: [ubuntu-24.04, macos-latest]
matlab: [R2024b]
runs-on: ${{ matrix.os }}
env:
FC: gfortran-14
steps:
- name: Install MATLAB
timeout-minutes: 10
uses: matlab-actions/setup-matlab@v2
with:
release: ${{ matrix.matlab }}
cache: true
- uses: actions/checkout@v4
- name: Lint task
uses: matlab-actions/run-build@v2
with:
tasks: check
- name: Test task
uses: matlab-actions/run-build@v2
with:
tasks: test