Skip to content

Commit bd9076a

Browse files
committed
feat: try adding a mac-x64 build
1 parent b6fa3ab commit bd9076a

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/publish.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,17 @@ jobs:
1313
matrix:
1414
node: [20]
1515
os:
16+
# macos-14 is arm64 (m1)
1617
- name: darwin
17-
architecture: arm64
1818
host: macos-14
1919

20+
# macos-13 is x86
21+
- name: mac-x64
22+
host: macos-13
23+
24+
# ubuntu-20.04 is x86. Still no arm linux runners yet
25+
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
2026
- name: linux
21-
architecture: x86-64
2227
host: ubuntu-20.04
2328
env:
2429
CC: clang
@@ -108,6 +113,7 @@ jobs:
108113
mv ${{ steps.download.outputs.download-path}}/prebuild-linux-arm64/linux-arm64/* ./prebuilds/linux-arm64/
109114
mv ${{ steps.download.outputs.download-path}}/prebuild-linux-arm64/linux-x64/* ./prebuilds/linux-x64/
110115
mv ${{ steps.download.outputs.download-path}}/prebuild-macOS-ARM64/darwin-arm64/* ./prebuilds/darwin-arm64/
116+
mv ${{ steps.download.outputs.download-path}}/prebuild-macOS-X64/darwin-x64/* ./prebuilds/darwin-x64/
111117
find ./prebuilds
112118
- name: npm install
113119
run: npm ci

0 commit comments

Comments
 (0)