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 bba3df3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 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 @@ -24,19 +24,21 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- uses: actions/setup-python@v4
- name: Use Python 3.11
uses: actions/setup-python@v3
with:
python-version: 3.x
python-version: '3.11'

- 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 bba3df3

Please sign in to comment.