diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 82c782b..2543b00 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -12,8 +12,8 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: ["3.8"] - os: ["macos-latest", "ubuntu-latest", "windows-latest"] + python-version: ["3.10"] + os: ["macos-latest", "ubuntu-latest", "windows-latest", "macos-latest-xlarge"] fail-fast: false steps: diff --git a/.github/workflows/wheel.yml b/.github/workflows/wheel.yml index 3a37261..fc956af 100644 --- a/.github/workflows/wheel.yml +++ b/.github/workflows/wheel.yml @@ -15,15 +15,15 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: ["macos-latest", "ubuntu-latest", "windows-latest"] + os: ["macos-latest", "ubuntu-latest", "windows-latest", "macos-latest-xlarge"] cibw_arch: ["native"] # Build one wheel (ABI = none) using first build spec, then test on all python versions. - cibw_build: ["cp37-* cp38-* cp39-* cp310-* cp311-*"] + cibw_build: ["cp39-* cp310-* cp311-*"] include: - os: ubuntu-latest cibw_arch: aarch64 # Each test takes 30 mins, which is too long to run sequentially, so we test once only. - cibw_build: "cp37-*" + cibw_build: "cp39-*" fail-fast: false steps: @@ -36,7 +36,14 @@ jobs: Echo "OS_VERSION=$os_version" >> $env:GITHUB_ENV - name: "Checkout repo" - uses: actions/checkout@v3 + uses: actions/checkout@v4 + + # Temporary, until pipx is added to the macOS large runner image + - name: "Install pipx" + if: matrix.os == 'macos-latest-xlarge' + run: | + brew install pipx + pipx ensurepath - name: "Restore RTools40" if: startsWith(runner.os, 'Windows') @@ -53,7 +60,7 @@ jobs: platforms: arm64 - name: "Build wheels" - uses: pypa/cibuildwheel@v2.11.4 + uses: pypa/cibuildwheel@v2.16.2 with: package-dir: python env: