chore(ci): use aws instance for M1

This commit is contained in:
youben11
2023-04-07 11:21:04 +01:00
committed by Ayoub Benaissa
parent 981b0f4bb1
commit 30a13d74f4
4 changed files with 7 additions and 7 deletions

View File

@@ -21,7 +21,7 @@ jobs:
# to the architecture or the operating system
fail-fast: false
matrix:
runson: ["macos-11", "m1mac"]
runson: ["macos-11", "aws-mac2-metal"]
runs-on: ${{ matrix.runson }}
steps:
# A SSH private key is required as some dependencies are from private repos

View File

@@ -99,7 +99,7 @@ jobs:
tests-mac-m1:
runs-on: m1mac
runs-on: "aws-mac2-metal"
env:
RUSTFLAGS: -D warnings
steps:

View File

@@ -150,7 +150,7 @@ jobs:
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
runs-on: ["aws-mac1-metal", "m1mac"]
runs-on: ["aws-mac1-metal", "aws-mac2-metal"]
runs-on: ${{ matrix.runs-on }}
steps:
@@ -310,19 +310,19 @@ jobs:
- uses: actions/download-artifact@v3
continue-on-error: ${{ env.RELEASE_TYPE == 'nightly' }}
with:
name: wheel-3.8-m1mac
name: wheel-3.8-aws-mac2-metal
path: wheels
- uses: actions/download-artifact@v3
continue-on-error: ${{ env.RELEASE_TYPE == 'nightly' }}
with:
name: wheel-3.9-m1mac
name: wheel-3.9-aws-mac2-metal
path: wheels
- uses: actions/download-artifact@v3
continue-on-error: ${{ env.RELEASE_TYPE == 'nightly' }}
with:
name: wheel-3.10-m1mac
name: wheel-3.10-aws-mac2-metal
path: wheels
- name: Push wheels to internal PyPI (nightly)

View File

@@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
machine: ["aws-mac1-metal", "m1mac"]
machine: ["aws-mac1-metal", "aws-mac2-metal"]
runs-on: ${{ matrix.machine }}
steps: