File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 14
14
jobs :
15
15
build-macos :
16
16
name : Build macOS (${{ matrix.arch }})
17
- runs-on : macos-latest
17
+ runs-on : ${{ matrix.arch == 'x64' && ' macos-13' || 'macos- latest' }}
18
18
strategy :
19
19
matrix :
20
20
arch : [arm64, x64]
21
- defaults :
22
- run :
23
- shell : ${{ matrix.arch == 'x64' && 'arch -x86_64 /bin/bash -e {0}' || 'bash' }}
24
21
25
22
steps :
26
23
- name : Checkout code
38
35
echo "ERROR: Expected x86_64 architecture but got $CURRENT_ARCH"
39
36
exit 1
40
37
fi
41
- echo "✓ Architecture verified: Running as x86_64 under Rosetta "
38
+ echo "✓ Architecture verified: Running as native x86_64 on Intel hardware "
42
39
elif [[ "${{ matrix.arch }}" == "arm64" ]]; then
43
40
if [[ "$CURRENT_ARCH" != "arm64" ]]; then
44
41
echo "ERROR: Expected arm64 architecture but got $CURRENT_ARCH"
57
54
with :
58
55
node-version : ' 24'
59
56
cache : ' pnpm'
60
- architecture : ${{ matrix.arch }}
61
57
62
58
- name : Log Node.js architecture and platform
63
59
run : |
You can’t perform that action at this time.
0 commit comments