Skip to content

Commit

Permalink
use x64 runner in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
baileympearson committed Dec 2, 2024
1 parent 1dfcfeb commit 986a6bc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
macos_and_windows:
strategy:
matrix:
os: [macos-latest, windows-2019]
os: [macos-latest, windows-2019, macOS]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -30,13 +30,13 @@ jobs:
run: npm install --loglevel verbose && npm run prebuild
shell: bash

# macOS arm64 builds are universal macOS binaries. We copy the arm64 build
# into the location that prebuild expects for a x64 build so we can
# install on both architectures.
- name: copy universal macos binary to platform specific binaries
if: ${{ matrix.os == 'macos-latest' }}
shell: bash
run: bash etc/make-macos-x64-build.sh
# # macOS arm64 builds are universal macOS binaries. We copy the arm64 build
# # into the location that prebuild expects for a x64 build so we can
# # install on both architectures.
# - name: copy universal macos binary to platform specific binaries
# if: ${{ matrix.os == 'macos-latest' }}
# shell: bash
# run: bash etc/make-macos-x64-build.sh

- id: upload
name: Upload prebuild
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
host_tests:
strategy:
matrix:
os: [macos-latest, windows-2019]
os: [macos-latest, windows-2019, macOS]
node: [16.20.1, 18.x, 20.x, 22.x]
fail-fast: false
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit 986a6bc

Please sign in to comment.