File tree Expand file tree Collapse file tree 5 files changed +50
-26
lines changed Expand file tree Collapse file tree 5 files changed +50
-26
lines changed Original file line number Diff line number Diff line change 3939 if : runner.os == 'macOS'
4040 run : echo "FC=gfortran-14" >> $GITHUB_ENV
4141
42- - uses : ./.github/workflows/composite-buildtool
42+ - name : No Java, no Mex tests
43+ uses : ./.github/workflows/composite-nomex
44+
45+ - name : No Java, with MEX tests
46+ uses : ./.github/workflows/composite-mex
Original file line number Diff line number Diff line change 5353 if : runner.os == 'macOS'
5454 run : echo "FC=gfortran-14" >> $GITHUB_ENV
5555
56- - uses : ./.github/workflows/composite-buildtool
56+ - name : Check CodeIssues
57+ uses : ./.github/workflows/composite-check
58+
59+ - name : Non-MEX tests
60+ uses : ./.github/workflows/composite-nomex
61+
62+ - name : MEX tests
63+ uses : ./.github/workflows/composite-mex
Original file line number Diff line number Diff line change 1+ name : " matlab-check"
2+
3+ runs :
4+
5+ using : " composite"
6+
7+ steps :
8+
9+ - name : Check task
10+ if : ${{ matrix.release >= 'R2024a' || startsWith(matrix.release, 'latest') }}
11+ uses : matlab-actions/run-build@v2
12+ with :
13+ startup-options : ${{ matrix.startup-options }}
14+ tasks : check
15+
16+ - name : Upload CodeIssues
17+ if : failure()
18+ uses : actions/upload-artifact@v4
19+ with :
20+ name : ${{ matrix.release }}-${{ runner.os }}-codeissues
21+ path : CodeIssues.sarif
Original file line number Diff line number Diff line change 1+ name : " matlab-mex"
2+
3+ runs :
4+
5+ using : " composite"
6+
7+ steps :
8+
9+ - name : Mex Test
10+ if : ${{ matrix.release >= 'R2023a' || startsWith(matrix.release, 'latest') }}
11+ uses : matlab-actions/run-build@v2
12+ with :
13+ startup-options : ${{ matrix.startup-options }} -logfile ${{ matrix.release }}-${{ runner.os }}-test.log
14+ tasks : mex test
Original file line number Diff line number Diff line change 1- name : " matlab-buildtool "
1+ name : " matlab-nomex "
22
33runs :
44
55 using : " composite"
66
77 steps :
88
9- - name : Check task
10- if : ${{ matrix.release >= 'R2024a' || startsWith(matrix.release, 'latest') }}
11- uses : matlab-actions/run-build@v2
12- with :
13- startup-options : ${{ matrix.startup-options }}
14- tasks : check
15-
16- - name : Upload CodeIssues
17- if : failure()
18- uses : actions/upload-artifact@v4
19- with :
20- name : ${{ matrix.release }}-${{ runner.os }}-codeissues
21- path : CodeIssues.sarif
22-
239 - name : Non-Mex Test
24- if : ${{ matrix.release >= 'R2024b ' || startsWith(matrix.release, 'latest') }}
10+ if : ${{ matrix.release >= 'R2023a ' || startsWith(matrix.release, 'latest') }}
2511 uses : matlab-actions/run-build@v2
2612 with :
2713 startup-options : ${{ matrix.startup-options }}
2814 tasks : test
2915
30- - name : Mex Test
31- if : ${{ matrix.release >= 'R2023a' || startsWith(matrix.release, 'latest') }}
32- uses : matlab-actions/run-build@v2
33- with :
34- startup-options : ${{ matrix.startup-options }} -logfile ${{ matrix.release }}-${{ runner.os }}-test.log
35- tasks : mex test
36-
37-
3816# note: "source-folder" is necessary, but watch out as it adds all subfolders to path too
3917# https://github.com/matlab-actions/run-tests?tab=readme-ov-file#run-matlab-tests
4018 - name : Run tests (manual)
You can’t perform that action at this time.
0 commit comments