From 14c5fe0dc59dd4ccd1a78b18754baaca8c4bfb78 Mon Sep 17 00:00:00 2001 From: Leonid Shevtsov Date: Tue, 6 Aug 2024 20:58:10 +0300 Subject: [PATCH] Resolve build on latest macOS --- .github/workflows/main.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f94de85..65be537 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,10 +19,21 @@ jobs: - "3.9" - "3.10" - "3.11" + # Workaround from https://github.com/actions/runner-images/issues/9770 + exclude: # Python < v3.8 does not support Apple Silicon ARM64. + - python: "3.6" + os: macos-latest + - python: "3.7" + os: macos-latest + include: # So run those legacy versions on Intel CPUs. + - python: "3.6" + os: macos-13 + - python: "3.7" + os: macos-13 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python }} - name: Install tox