Skip to content

Commit

Permalink
240420.084828.HKT update matlab tests to include R2024b
Browse files Browse the repository at this point in the history
  • Loading branch information
zaikunzhang committed Apr 20, 2024
1 parent 3657dbb commit 5ba72c8
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 49 deletions.
62 changes: 15 additions & 47 deletions .github/workflows/compile_mex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,60 +19,28 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-2019, windows-2021, macos-11, macos-12, macos-13]
matlab: [R2020b, R2021a, R2021b, R2022a, R2022b, R2023a, R2023b, latest]
os: [macos-11, macos-12, macos-13]
matlab: [R2020b, R2021a, R2021b, R2022a, R2022b, R2023a, R2023b, R2024a]

exclude:

# Below R2022a, MEX is extremely slow on macOS
- os: macos-11
matlab: R2020b
- os: macos-11
matlab: R2021a
- os: macos-11
matlab: R2021b

- os: macos-12
matlab: R2020b
- os: macos-12
matlab: R2021a
- os: macos-12
matlab: R2021b

- os: macos-13
matlab: R2020b
- os: macos-13
include:
# Only R2021a/b and R2022a are available on Windows 2019.
- os: windows-2019
matlab: R2021a
- os: macos-13
matlab: R2021b

# Only R2021a/b and R2022a are available on Windows 2019. Test on R2021a often fails due to overtime.
- os: windows-2019
matlab: R2020b
matlab: R2021b
- os: windows-2019
matlab: R2022a

- os: windows-2022
matlab: R2022a
- os: windows-2022
matlab: R2022b
- os: windows-2019
- os: windows-2022
matlab: R2023a
- os: windows-2019
- os: windows-2022
matlab: R2023b
- os: windows-2019
matlab: latest

# Below R2022a, MEX does not work on windows-latest due to the version of MS Visual Studio;
# R2022a/b should work according to the documentation of MathWorks and GitHub Actions, but
# they do not as of March 2022
- os: windows-2021
matlab: R2020a
- os: windows-2021
matlab: R2020b
- os: windows-2021
matlab: R2021a
- os: windows-2021
matlab: R2021b
- os: windows-2021
matlab: R2022a
- os: windows-2021
matlab: R2022b
- os: windows-2022
matlab: R2024a


steps:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test_matlab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04, ubuntu-latest, windows-2019, windows-latest, macos-11, macos-latest, macos-13]
matlab: [R2020b, R2021a, R2021b, R2022a, R2022b, R2023a, R2023b, latest]
matlab: [R2020b, R2021a, R2021b, R2022a, R2022b, R2023a, R2023b, R2024a, latest]

exclude:

Expand Down Expand Up @@ -63,6 +63,8 @@ jobs:
matlab: R2023a
- os: windows-2019
matlab: R2023b
- os: windows-2019
matlab: R2024a
- os: windows-2019
matlab: latest

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_matlab_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
matlab: [R2020b, R2021a, R2021b, R2022a, R2022b, R2023a, R2023b, latest]
matlab: [R2020b, R2021a, R2021b, R2022a, R2022b, R2023a, R2023b, R2024a, latest]

steps:

Expand Down

0 comments on commit 5ba72c8

Please sign in to comment.