Skip to content

Commit 6ad45dd

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

File tree

3 files changed

+12
-17
lines changed

3 files changed

+12
-17
lines changed

.github/workflows/ci.yml

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

67-
- name: MEX tests
67+
- name: Mex & Exe Test (>= R2024b)
6868
if: ${{ matrix.release >= 'R2024b' }}
69-
uses: ./.github/workflows/composite-mex
69+
uses: matlab-actions/run-build@v2
70+
with:
71+
startup-options: -logfile ${{ matrix.release }}-${{ runner.os }}-test.log
72+
tasks: test:mex test:exe
73+
74+
- name: Exe Test (legacy)
75+
if: ${{ matrix.release >= 'R2023a' && matrix.release < 'R2024b' }}
76+
uses: matlab-actions/run-build@v2
77+
with:
78+
startup-options: -logfile ${{ matrix.release }}-${{ runner.os }}-test.log
79+
tasks: test_exe
7080

7181

7282
matlab-older-than-R2022a:

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

Lines changed: 0 additions & 14 deletions
This file was deleted.

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)