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:
parent
a26a938dac
commit
bdcd07466b
1 changed files with 2 additions and 10 deletions
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue