Skip to content

Commit

Permalink
chore: add darwin/arm64 prebuild support (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeluard authored and matthewkeil committed Mar 28, 2024
1 parent 6d11203 commit 5398005
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/no_run_workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, macos-latest, windows-latest]
node: [14, 16, 17, 18, 20]
os: [ubuntu-20.04, macos-12, macos-14, windows-latest]
node: [16, 17, 18, 20]
defaults:
run:
shell: bash
Expand All @@ -74,6 +74,12 @@ jobs:
with:
node-version: ${{matrix.node}}

- uses: actions/setup-python@v5
with:
# More recent versions of python require more recent node-gyp
# See https://github.com/nodejs/node-gyp/issues/2869
python-version: '3.11'

- name: Install && Build TS + bindings
run: |
yarn config set ignore-engines true
Expand Down Expand Up @@ -105,6 +111,9 @@ jobs:
path: prebuild/*.node
if-no-files-found: error

# Required as current base images do not support arm64
# https://resources.github.com/devops/accelerate-your-cicd-with-arm-and-gpu-runners-in-github-actions/
# https://github.com/actions/runner-images/issues/5631
build-arm:
needs: ["build-swig"]
runs-on: ubuntu-20.04
Expand Down

0 comments on commit 5398005

Please sign in to comment.