Skip to content

Commit

Permalink
Build for all arches
Browse files Browse the repository at this point in the history
  • Loading branch information
zcbenz committed Feb 26, 2024
1 parent f20fb63 commit 0f80a1c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, windows-2022, macos-12]
os: [ubuntu-22.04, windows-2022, macos-14]
arch: [x64, arm64]
include:
- os: ubuntu-22.04
Expand All @@ -30,13 +30,14 @@ jobs:

- name: Build
run: |
node scripts/bootstrap.js --target-cpu=x64
node scripts/bootstrap.js --target-cpu=${{ matrix.arch }}
node scripts/build.js out/Release
- name: Create distribution
run: node scripts/create_dist.js

- name: Run tests
if: runner.arch == matrix.arch
run: node scripts/test.js

- name: Upload
Expand Down

0 comments on commit 0f80a1c

Please sign in to comment.