File tree Expand file tree Collapse file tree 1 file changed +76
-0
lines changed Expand file tree Collapse file tree 1 file changed +76
-0
lines changed Original file line number Diff line number Diff line change 1+ name : matlab
2+
3+ on :
4+ push :
5+ paths :
6+ - " **.m"
7+ - " **.cmake"
8+ - " **/CMakeLists.txt"
9+ - " .github/workflows/ci-matlab.yml"
10+
11+
12+ jobs :
13+
14+ unix :
15+
16+ strategy :
17+ matrix :
18+ os : [ubuntu-24.04, macos-latest]
19+ matlab : [R2024b]
20+
21+ runs-on : ${{ matrix.os }}
22+
23+ steps :
24+
25+ - name : Install MATLAB
26+ timeout-minutes : 10
27+ uses : matlab-actions/setup-matlab@v2
28+ with :
29+ release : ${{ matrix.matlab }}
30+ cache : true
31+
32+ - uses : actions/checkout@v4
33+
34+ - name : Lint task
35+ uses : matlab-actions/run-build@v2
36+ with :
37+ tasks : check
38+
39+ - name : Test task
40+ uses : matlab-actions/run-build@v2
41+ with :
42+ tasks : test
43+
44+
45+ msys2 :
46+ runs-on : windows-latest
47+ timeout-minutes : 10
48+
49+ steps :
50+ - uses : msys2/setup-msys2@v2
51+ with :
52+ update : true
53+ install : >-
54+ mingw-w64-ucrt-x86_64-gcc-fortran
55+
56+ - name : Put MSYS2_MinGW64 on PATH
57+ run : echo "${{ runner.temp }}/msys64/ucrt64/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
58+
59+ - name : Install MATLAB
60+ timeout-minutes : 10
61+ uses : matlab-actions/setup-matlab@v2
62+ with :
63+ release : R2024b
64+ cache : true
65+
66+ - uses : actions/checkout@v4
67+
68+ - name : Lint task
69+ uses : matlab-actions/run-build@v2
70+ with :
71+ tasks : check
72+
73+ - name : Test task
74+ uses : matlab-actions/run-build@v2
75+ with :
76+ tasks : test
You can’t perform that action at this time.
0 commit comments