Skip to content

Commit

Permalink
fix: try to use macos-14 for arm64 build
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Aug 29, 2024
1 parent 15178ba commit 68daa35
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
path: dist/*

macos-arm64:
runs-on: macos-13
runs-on: macos-14 # starting from 14 it's ARM

strategy:
fail-fast: false
Expand All @@ -66,6 +66,8 @@ jobs:
with:
node-version: 18

- run: uname -a

- run: yarn install --ignore-engines

# add missing distutils package to python 3.12
Expand All @@ -74,11 +76,11 @@ jobs:
pip install setuptools
- run: yarn start --node-range node${{ matrix.target-node }} --arch arm64 --output dist
env:
CC: clang -arch arm64
CXX: clang++ -arch arm64
CC_host: clang
CXX_host: clang++
# env:
# CC: clang -arch arm64
# CXX: clang++ -arch arm64
# CC_host: clang
# CXX_host: clang++

- name: Check if binary is compiled
id: check_file
Expand Down

0 comments on commit 68daa35

Please sign in to comment.