Unverified Commit 908af501 authored by Zack Tanner's avatar Zack Tanner Committed by GitHub

[ci]: Use macOS arm runner for intel builds (#93330)

The intel runners were quite a bit slower than the base arm runners. We
were previously compiling both architectures on self-hosted arm so this
just back the status quo on GH runners to improve speed. This shaves off
~10/20 mins.

Validated
[here](https://github.com/vercel/next.js/actions/runs/25071926790/job/73454315459)
parent dab281a3
...@@ -183,13 +183,10 @@ jobs: ...@@ -183,13 +183,10 @@ jobs:
build_task: build-native-release build_task: build-native-release
os: os:
mac: mac:
host: "['macos-15']"
vendor: apple vendor: apple
sys: darwin sys: darwin
arch: arch: [x86_64, aarch64]
x86_64:
host: "['macos-15-intel']"
aarch64:
host: "['macos-15']"
windows: windows:
host: "['windows-latest-8-core-oss']" host: "['windows-latest-8-core-oss']"
vendor: pc vendor: pc
...@@ -226,7 +223,7 @@ jobs: ...@@ -226,7 +223,7 @@ jobs:
name: stable - ${{ matrix.target }} - node@20 name: stable - ${{ matrix.target }} - node@20
runs-on: ${{ fromJSON(matrix.host) }} runs-on: ${{ fromJSON(matrix.host) }}
timeout-minutes: ${{ matrix.os == 'mac' && 90 || 45 }} timeout-minutes: 45
env: env:
# Disable all build caches for production/staging/force-preview deploys # Disable all build caches for production/staging/force-preview deploys
NEXT_SKIP_BUILD_CACHE: ${{ contains(fromJSON('["production","staging","force-preview"]'), needs.deploy-target.outputs.value) && '1' || '' }} NEXT_SKIP_BUILD_CACHE: ${{ contains(fromJSON('["production","staging","force-preview"]'), needs.deploy-target.outputs.value) && '1' || '' }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment