From 0b90066c92e21070e2a7b1cdc80bd977a6261c9a Mon Sep 17 00:00:00 2001 From: Sylwester Arabas Date: Thu, 16 Jun 2022 16:09:33 -0500 Subject: [PATCH 1/3] add macos-10 and macos-12 builds --- .github/workflows/tests+artifacts+pypi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests+artifacts+pypi.yml b/.github/workflows/tests+artifacts+pypi.yml index 1bbc8ec6..b7502594 100644 --- a/.github/workflows/tests+artifacts+pypi.yml +++ b/.github/workflows/tests+artifacts+pypi.yml @@ -18,7 +18,7 @@ jobs: build: strategy: matrix: - platform: [ubuntu-latest, macos-latest, windows-latest] + platform: [ubuntu-latest, macos-10, macos-11, macOS-12, windows-latest] python-version: ["3.7", "3.8", "3.9", "3.10"] exclude: - platform: windows-latest From d86c32f2e95a6e828ed8fe7aef26bc26a6dc4e03 Mon Sep 17 00:00:00 2001 From: Sylwester Arabas Date: Thu, 16 Jun 2022 16:23:12 -0500 Subject: [PATCH 2/3] fix macos- condition --- .github/workflows/tests+artifacts+pypi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests+artifacts+pypi.yml b/.github/workflows/tests+artifacts+pypi.yml index b7502594..03cb3b4c 100644 --- a/.github/workflows/tests+artifacts+pypi.yml +++ b/.github/workflows/tests+artifacts+pypi.yml @@ -29,7 +29,7 @@ jobs: python-version: "3.10" runs-on: ${{ matrix.platform }} steps: - - if: matrix.platform == 'macos-latest' + - if: startsWith(matrix.platform, 'macos-') run: brew reinstall gcc - if: matrix.platform == 'windows-latest' From 1e6db60f31298b2c51f6f9dc86fd1f3382247d57 Mon Sep 17 00:00:00 2001 From: Sylwester Arabas Date: Fri, 17 Jun 2022 23:00:33 -0500 Subject: [PATCH 3/3] remove macos-10 (does not work) --- .github/workflows/tests+artifacts+pypi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests+artifacts+pypi.yml b/.github/workflows/tests+artifacts+pypi.yml index 09d5955c..497d70c1 100644 --- a/.github/workflows/tests+artifacts+pypi.yml +++ b/.github/workflows/tests+artifacts+pypi.yml @@ -18,7 +18,7 @@ jobs: build: strategy: matrix: - platform: [ubuntu-latest, macos-10, macos-11, macOS-12, windows-latest] + platform: [ubuntu-latest, macos-11, macOS-12, windows-latest] python-version: ["3.7", "3.8", "3.9", "3.10"] exclude: - platform: windows-latest