File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414jobs :
1515 build-macos :
1616 name : Build macOS (${{ matrix.arch }})
17- runs-on : macos-latest
17+ runs-on : ${{ matrix.arch == 'x64' && ' macos-13' || 'macos- latest' }}
1818 strategy :
1919 matrix :
2020 arch : [arm64, x64]
21- defaults :
22- run :
23- shell : ${{ matrix.arch == 'x64' && 'arch -x86_64 /bin/bash -e {0}' || 'bash' }}
2421
2522 steps :
2623 - name : Checkout code
3835 echo "ERROR: Expected x86_64 architecture but got $CURRENT_ARCH"
3936 exit 1
4037 fi
41- echo "✓ Architecture verified: Running as x86_64 under Rosetta "
38+ echo "✓ Architecture verified: Running as native x86_64 on Intel hardware "
4239 elif [[ "${{ matrix.arch }}" == "arm64" ]]; then
4340 if [[ "$CURRENT_ARCH" != "arm64" ]]; then
4441 echo "ERROR: Expected arm64 architecture but got $CURRENT_ARCH"
5754 with :
5855 node-version : ' 24'
5956 cache : ' pnpm'
60- architecture : ${{ matrix.arch }}
6157
6258 - name : Log Node.js architecture and platform
6359 run : |
You can’t perform that action at this time.
0 commit comments