Skip to content

Commit d1afd2a

Browse files
committed
250721.003004.PDT update compile_mex
1 parent 8321d57 commit d1afd2a

File tree

2 files changed

+27
-19
lines changed

2 files changed

+27
-19
lines changed

.github/workflows/compile_mex.yml

Lines changed: 25 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -29,29 +29,37 @@ jobs:
2929
strategy:
3030
fail-fast: false
3131

32-
# The matrix is essentially the same as that of test_matlab.yml
32+
# The matrix is the same as that of test_matlab.yml
3333
matrix:
34-
os: [ubuntu-20.04, ubuntu-22.04, macos-12, macos-13]
35-
matlab: [R2020b, R2021a, R2021b, R2022a, R2022b, R2023a, R2023b, R2024a]
34+
os: [ubuntu-22.04, ubuntu-latest, macos-13, windows-latest, windows-2025]
35+
matlab: [R2020b, R2021a, R2021b, R2022a, R2022b, R2023a, R2023b, R2024a, R2024b, R2025a, latest]
3636

37-
include:
38-
# Only R2021a/b and R2022a are available on Windows 2019.
39-
- os: windows-2019
37+
exclude:
38+
39+
# Below R2022a, MEX does not work on windows-latest due to the version of MS Visual Studio;
40+
# R2022a/b should work according to the documentation of MathWorks and GitHub Actions, but
41+
# they do not as of July 2025.
42+
- os: windows-latest
43+
matlab: R2020b
44+
- os: windows-latest
4045
matlab: R2021a
41-
- os: windows-2019
46+
- os: windows-latest
4247
matlab: R2021b
43-
- os: windows-2019
48+
- os: windows-latest
4449
matlab: R2022a
50+
- os: windows-latest
51+
matlab: R2022b
4552

46-
# Below R2022a, MEX does not work on windows-latest due to the version of MS Visual Studio;
47-
# R2022a/b should work according to the documentation of MathWorks and GitHub Actions, but
48-
# they do not as of April 2024
49-
- os: windows-2022
50-
matlab: R2023a
51-
- os: windows-2022
52-
matlab: R2023b
53-
- os: windows-2022
54-
matlab: R2024a
53+
- os: windows-2025
54+
matlab: R2020b
55+
- os: windows-2025
56+
matlab: R2021a
57+
- os: windows-2025
58+
matlab: R2021b
59+
- os: windows-2025
60+
matlab: R2022a
61+
- os: windows-2025
62+
matlab: R2022b
5563

5664

5765
steps:

.github/workflows/test_matlab.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
strategy:
2626
fail-fast: false
2727

28-
# The matrix is essentially the same as that of compile_mex.yml
28+
# The matrix is the same as that of compile_mex.yml
2929
matrix:
3030
os: [ubuntu-22.04, ubuntu-latest, macos-13, windows-latest, windows-2025]
3131
matlab: [R2020b, R2021a, R2021b, R2022a, R2022b, R2023a, R2023b, R2024a, R2024b, R2025a, latest]
@@ -34,7 +34,7 @@ jobs:
3434

3535
# Below R2022a, MEX does not work on windows-latest due to the version of MS Visual Studio;
3636
# R2022a/b should work according to the documentation of MathWorks and GitHub Actions, but
37-
# they do not as of April 2024
37+
# they do not as of July 2025
3838
- os: windows-latest
3939
matlab: R2020b
4040
- os: windows-latest

0 commit comments

Comments
 (0)