Skip to content

Commit

Permalink
240811.180723.PDT remove macos-11 from github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
zaikunzhang committed Aug 12, 2024
1 parent 733ab95 commit 3867000
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 31 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
strategy:
fail-fast: false
matrix:
# As of 20240501, macos-11/12/13 are AMD64, and macOS-14 is ARM64.
os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, windows-2019, windows-2022, macos-11, macos-12, macos-13, macos-14]
# As of 20240501, macos-12/13 are AMD64, and macOS-14 is ARM64.
os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, windows-2019, windows-2022, macos-12, macos-13, macos-14]

steps:
- name: Clone Repository (Latest)
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/compile_mex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

# The matrix is essentially the same as that of test_matlab.yml
matrix:
os: [ubuntu-20.04, ubuntu-22.04, macos-11, macos-12, macos-13]
os: [ubuntu-20.04, ubuntu-22.04, macos-12, macos-13]
matlab: [R2020b, R2021a, R2021b, R2022a, R2022b, R2023a, R2023b, R2024a]

include:
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
ver;
options.half = false;
options.single = true;
options.quadruple = ~(strcmp('${{ matrix.os }}', 'macos-11') && verLessThan('matlab', '9.12')); % MEX is slow on macos-11 with MATLAB R2021b or below.
options.quadruple = true;
options.debug = true;
options.classical = false;
options.verbose = true;
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/recursive_test_matlab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

# The matrix is the same as that of stress_test_matlab.yml.
matrix:
os: [ubuntu-20.04, ubuntu-latest, windows-2019, windows-latest, macos-11, macos-12, macos-13]
os: [ubuntu-20.04, ubuntu-latest, windows-2019, windows-latest, macos-12, macos-13]
matlab: [R2020b, R2021a, R2022a, R2023a, latest]
solver: [uobyqa, newuoa, bobyqa, lincoa, cobyla]

Expand Down Expand Up @@ -74,14 +74,6 @@ jobs:
- os: macos-12
matlab: R2023a

# macos-11: test R2022a and latest
- os: macos-11
matlab: R2020b
- os: macos-11
matlab: R2021a
- os: macos-11
matlab: R2023a

# windows-latest: test R2023a and latest
- os: windows-latest
matlab: R2020b
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/stress_test_matlab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

# The matrix is the same as that of recursive_test_matlab.yml, except for `test`.
matrix:
os: [ubuntu-20.04, ubuntu-latest, windows-2019, windows-latest, macos-11, macos-12, macos-13]
os: [ubuntu-20.04, ubuntu-latest, windows-2019, windows-latest, macos-12, macos-13]
matlab: [R2020b, R2021a, R2022a, R2023a, latest]
solver: [uobyqa, newuoa, bobyqa, lincoa, cobyla]
test: [normal, tough]
Expand Down Expand Up @@ -72,14 +72,6 @@ jobs:
- os: macos-12
matlab: R2023a

# macos-11: test R2022a and latest
- os: macos-11
matlab: R2020b
- os: macos-11
matlab: R2021a
- os: macos-11
matlab: R2023a

# windows-latest: test R2023a and latest
- os: windows-latest
matlab: R2020b
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/test_matlab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,11 @@ jobs:

# The matrix is essentially the same as that of compile_mex.yml
matrix:
os: [ubuntu-20.04, ubuntu-latest, macos-11, macos-12, macos-13]
os: [ubuntu-20.04, ubuntu-latest, macos-12, macos-13]
matlab: [R2020b, R2021a, R2021b, R2022a, R2022b, R2023a, R2023b, R2024a, latest]

exclude:

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

# Below R2022a, MEX is extremely slow on macOS 12
- os: macos-12
matlab: R2020b
Expand Down

0 comments on commit 3867000

Please sign in to comment.