1
Fork 0

Use native x86_64 macOS runners for x86_64 builds

Rather than running in Rosetta 2. This should make testing on CI faster.
This commit is contained in:
bjorn3 2025-02-26 10:10:43 +00:00
parent a26a938dac
commit bdcd07466b

View file

@ -56,7 +56,7 @@ jobs:
- os: ubuntu-24.04-arm - os: ubuntu-24.04-arm
env: env:
TARGET_TRIPLE: aarch64-unknown-linux-gnu TARGET_TRIPLE: aarch64-unknown-linux-gnu
- os: macos-latest - os: macos-13
env: env:
TARGET_TRIPLE: x86_64-apple-darwin TARGET_TRIPLE: x86_64-apple-darwin
- os: macos-latest - os: macos-latest
@ -94,10 +94,6 @@ jobs:
if: matrix.os == 'windows-latest' && matrix.env.TARGET_TRIPLE == 'x86_64-pc-windows-gnu' if: matrix.os == 'windows-latest' && matrix.env.TARGET_TRIPLE == 'x86_64-pc-windows-gnu'
run: rustup set default-host x86_64-pc-windows-gnu run: rustup set default-host x86_64-pc-windows-gnu
- name: Use x86_64 compiler on macOS
if: matrix.os == 'macos-latest' && matrix.env.TARGET_TRIPLE == 'x86_64-apple-darwin'
run: rustup set default-host x86_64-apple-darwin
- name: Install toolchain and emulator - name: Install toolchain and emulator
if: matrix.apt_deps != null if: matrix.apt_deps != null
run: | run: |
@ -194,7 +190,7 @@ jobs:
- os: ubuntu-24.04-arm - os: ubuntu-24.04-arm
env: env:
TARGET_TRIPLE: aarch64-unknown-linux-gnu TARGET_TRIPLE: aarch64-unknown-linux-gnu
- os: macos-latest - os: macos-13
env: env:
TARGET_TRIPLE: x86_64-apple-darwin TARGET_TRIPLE: x86_64-apple-darwin
- os: macos-latest - os: macos-latest
@ -220,10 +216,6 @@ jobs:
if: matrix.os == 'windows-latest' && matrix.env.TARGET_TRIPLE == 'x86_64-pc-windows-gnu' if: matrix.os == 'windows-latest' && matrix.env.TARGET_TRIPLE == 'x86_64-pc-windows-gnu'
run: rustup set default-host x86_64-pc-windows-gnu run: rustup set default-host x86_64-pc-windows-gnu
- name: Use x86_64 compiler on macOS
if: matrix.os == 'macos-latest' && matrix.env.TARGET_TRIPLE == 'x86_64-apple-darwin'
run: rustup set default-host x86_64-apple-darwin
- name: Prepare dependencies - name: Prepare dependencies
run: ./y.sh prepare run: ./y.sh prepare