Skip to content

Commit 6db2da6

Browse files
committed
ci: expand range of version testing mex and exe
1 parent 9be20fd commit 6db2da6

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ jobs:
6464
- name: Non-MEX tests
6565
uses: ./.github/workflows/composite-nomex
6666

67-
- name: MEX tests
68-
if: ${{ matrix.release >= 'R2024b' }}
67+
- name: MEX, Exe tests
68+
if: ${{ matrix.release >= 'R2023a' }}
6969
uses: ./.github/workflows/composite-mex
7070

7171

.github/workflows/composite-mex/action.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,16 @@ runs:
66

77
steps:
88

9-
- name: Mex Test
9+
- name: Mex & Exe Test (>= R2024b)
1010
if: ${{ matrix.release >= 'R2024b' }}
1111
uses: matlab-actions/run-build@v2
1212
with:
1313
startup-options: ${{ matrix.startup-options }} -logfile ${{ matrix.release }}-${{ runner.os }}-test.log
14-
tasks: test:mex test:exe
14+
tasks: test:mex test:exez
15+
16+
- name: Exe Test (legacy)
17+
if: ${{ matrix.release >= 'R2023a' && matrix.release < 'R2024b' }}
18+
uses: matlab-actions/run-build@v2
19+
with:
20+
startup-options: ${{ matrix.startup-options }} -logfile ${{ matrix.release }}-${{ runner.os }}-test.log
21+
tasks: test_exe

buildfile.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333

3434
plan("test_java") = matlab.buildtool.Task(Actions=@(context) legacy_test(context, cjava));
3535
plan("test_nomex") = matlab.buildtool.Task(Actions=@(context) legacy_test(context, cnomex), Dependencies="clean");
36-
plan("test_mex") = matlab.buildtool.Task(Actions=@(context) legacy_test(context, cmex), Dependencies="mex");
3736

3837
elseif isMATLABReleaseOlderThan("R2025a")
3938
% Matlab == R2024b

0 commit comments

Comments
 (0)