diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-02-26 10:10:43 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-02-26 10:10:43 +0000 |
| commit | bdcd07466b14db4965536b565c2b6ea5cf4d09d9 (patch) | |
| tree | 428b03eb17474613e602bd46a1846c0258dd8513 | |
| parent | a26a938dac173a1fe9b5203fdecdee155f13003a (diff) | |
| download | rust-bdcd07466b14db4965536b565c2b6ea5cf4d09d9.tar.gz rust-bdcd07466b14db4965536b565c2b6ea5cf4d09d9.zip | |
Use native x86_64 macOS runners for x86_64 builds
Rather than running in Rosetta 2. This should make testing on CI faster.
| -rw-r--r-- | .github/workflows/main.yml | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index da0f95c77bb..137504bc0aa 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -56,7 +56,7 @@ jobs: - os: ubuntu-24.04-arm env: TARGET_TRIPLE: aarch64-unknown-linux-gnu - - os: macos-latest + - os: macos-13 env: TARGET_TRIPLE: x86_64-apple-darwin - os: macos-latest @@ -94,10 +94,6 @@ jobs: if: matrix.os == 'windows-latest' && matrix.env.TARGET_TRIPLE == '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 if: matrix.apt_deps != null run: | @@ -194,7 +190,7 @@ jobs: - os: ubuntu-24.04-arm env: TARGET_TRIPLE: aarch64-unknown-linux-gnu - - os: macos-latest + - os: macos-13 env: TARGET_TRIPLE: x86_64-apple-darwin - os: macos-latest @@ -220,10 +216,6 @@ jobs: if: matrix.os == 'windows-latest' && matrix.env.TARGET_TRIPLE == '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 run: ./y.sh prepare |
