Skip to content

Commit bdcd074

Browse files
committed
Use native x86_64 macOS runners for x86_64 builds
Rather than running in Rosetta 2. This should make testing on CI faster.
1 parent a26a938 commit bdcd074

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
- os: ubuntu-24.04-arm
5757
env:
5858
TARGET_TRIPLE: aarch64-unknown-linux-gnu
59-
- os: macos-latest
59+
- os: macos-13
6060
env:
6161
TARGET_TRIPLE: x86_64-apple-darwin
6262
- os: macos-latest
@@ -94,10 +94,6 @@ jobs:
9494
if: matrix.os == 'windows-latest' && matrix.env.TARGET_TRIPLE == 'x86_64-pc-windows-gnu'
9595
run: rustup set default-host x86_64-pc-windows-gnu
9696

97-
- name: Use x86_64 compiler on macOS
98-
if: matrix.os == 'macos-latest' && matrix.env.TARGET_TRIPLE == 'x86_64-apple-darwin'
99-
run: rustup set default-host x86_64-apple-darwin
100-
10197
- name: Install toolchain and emulator
10298
if: matrix.apt_deps != null
10399
run: |
@@ -194,7 +190,7 @@ jobs:
194190
- os: ubuntu-24.04-arm
195191
env:
196192
TARGET_TRIPLE: aarch64-unknown-linux-gnu
197-
- os: macos-latest
193+
- os: macos-13
198194
env:
199195
TARGET_TRIPLE: x86_64-apple-darwin
200196
- os: macos-latest
@@ -220,10 +216,6 @@ jobs:
220216
if: matrix.os == 'windows-latest' && matrix.env.TARGET_TRIPLE == 'x86_64-pc-windows-gnu'
221217
run: rustup set default-host x86_64-pc-windows-gnu
222218

223-
- name: Use x86_64 compiler on macOS
224-
if: matrix.os == 'macos-latest' && matrix.env.TARGET_TRIPLE == 'x86_64-apple-darwin'
225-
run: rustup set default-host x86_64-apple-darwin
226-
227219
- name: Prepare dependencies
228220
run: ./y.sh prepare
229221

0 commit comments

Comments
 (0)