From 16d3b277d39e118662d3b55876efe80742657599 Mon Sep 17 00:00:00 2001 From: Kevin Tang <73975146+vt128@users.noreply.github.com> Date: Tue, 10 Nov 2026 01:32:56 +0800 Subject: [PATCH] [ci] Use Intel macOS 15 runners for tests Select the supported Intel image for existing macos-15 matrix jobs so ARM64 capacity failures do not prevent jobs from acquiring a runner. Preserve matrix values, check names, OS version, Go floors and coverage gates. The hosted macOS architecture changes to x64; capacity is not guaranteed. Refs: ENG-16 (hosted macOS runner capacity) --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2ee4659..322b203 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ permissions: read-all jobs: build: name: Test with ${{ matrix.go-version }} on ${{ matrix.vm-os }} - runs-on: ${{ matrix.vm-os }} + runs-on: ${{ matrix.vm-os == 'macos-15' && 'macos-15-intel' || matrix.vm-os }} env: CI_REPORT: ${{ matrix.vm-os == 'ubuntu-22.04' && matrix.go-version == '1.19.x' }} strategy: @@ -93,7 +93,7 @@ jobs: wasm: name: Cross-build ${{ matrix.goos }}/${{ matrix.goarch }} with ${{ matrix.go-version }} on ${{ matrix.vm-os }} - runs-on: ${{ matrix.vm-os }} + runs-on: ${{ matrix.vm-os == 'macos-15' && 'macos-15-intel' || matrix.vm-os }} strategy: max-parallel: 10 fail-fast: false