From 386700063d3ae77bafb4ef5110d5acb43a7234dc Mon Sep 17 00:00:00 2001 From: zaikunzhang Date: Sun, 11 Aug 2024 18:07:23 -0700 Subject: [PATCH] 240811.180723.PDT remove macos-11 from github actions --- .github/workflows/build_python.yml | 4 ++-- .github/workflows/compile_mex.yml | 4 ++-- .github/workflows/recursive_test_matlab.yml | 10 +--------- .github/workflows/stress_test_matlab.yml | 10 +--------- .github/workflows/test_matlab.yml | 10 +--------- 5 files changed, 7 insertions(+), 31 deletions(-) diff --git a/.github/workflows/build_python.yml b/.github/workflows/build_python.yml index a0ecce12f9..994c9d425c 100644 --- a/.github/workflows/build_python.yml +++ b/.github/workflows/build_python.yml @@ -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) diff --git a/.github/workflows/compile_mex.yml b/.github/workflows/compile_mex.yml index 152646a9d5..da40be14d1 100644 --- a/.github/workflows/compile_mex.yml +++ b/.github/workflows/compile_mex.yml @@ -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: @@ -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; diff --git a/.github/workflows/recursive_test_matlab.yml b/.github/workflows/recursive_test_matlab.yml index fc8e18c482..7960ed7690 100644 --- a/.github/workflows/recursive_test_matlab.yml +++ b/.github/workflows/recursive_test_matlab.yml @@ -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] @@ -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 diff --git a/.github/workflows/stress_test_matlab.yml b/.github/workflows/stress_test_matlab.yml index f9ef7dcb57..014da40f84 100644 --- a/.github/workflows/stress_test_matlab.yml +++ b/.github/workflows/stress_test_matlab.yml @@ -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] @@ -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 diff --git a/.github/workflows/test_matlab.yml b/.github/workflows/test_matlab.yml index 7e29fb1fc9..898cc49eb9 100644 --- a/.github/workflows/test_matlab.yml +++ b/.github/workflows/test_matlab.yml @@ -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