diff --git a/.github/workflows/build-wheels-macos.yml b/.github/workflows/build-wheels-macos.yml index 4aabfce06b1..17f539a9187 100644 --- a/.github/workflows/build-wheels-macos.yml +++ b/.github/workflows/build-wheels-macos.yml @@ -3,6 +3,8 @@ on: inputs: python-version: type: string + os: + type: string jobs: build-wheels: @@ -10,7 +12,7 @@ jobs: strategy: fail-fast: false - runs-on: macos-latest + runs-on: ${{ inputs.os }} steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 4d8010849ef..f108b26cb87 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -94,9 +94,17 @@ jobs: fail-fast: false matrix: python-version: [ '3.8', '3.9', '3.10', '3.11' ] + os: [ 'macos-latest', 'macos-latest-xlarge' ] + exclude: # m1 runner macos-latest-xlarge does not have python < 3.10 + - os: macos-latest-xlarge + python-version: '3.8' + - os: macos-latest-xlarge + python-version: '3.9' + uses: ./.github/workflows/build-wheels-macos.yml with: python-version: ${{ matrix.python-version }} + os: ${{ matrix.os }} test-linux: needs: [build-linux]