Skip to content

Commit

Permalink
fix(NODE-6381): use targeting for x86_64 darwin (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
durran authored Sep 16, 2024
1 parent c9570cd commit f95c9f6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
target: x86_64-apple-darwin
architecture: x64
build: |
npm run build
npm run build -- --target x86_64-apple-darwin
strip -x *.node
- host: windows-latest
build: npm run build
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
if: ${{ !matrix.settings.docker }}
shell: bash
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: bindings-${{ matrix.settings.target }}
path: ${{ env.APP_NAME }}.*.node
Expand Down Expand Up @@ -170,7 +170,7 @@ jobs:
- name: Install dependencies
run: npm clean-install --ignore-scripts
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: bindings-${{ matrix.settings.target }}
path: .
Expand Down Expand Up @@ -209,7 +209,7 @@ jobs:
- name: Install dependencies
run: npm clean-install --ignore-scripts
- name: Download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: bindings-x86_64-unknown-linux-gnu
path: .
Expand Down Expand Up @@ -248,7 +248,7 @@ jobs:
- name: Install dependencies
run: npm clean-install --ignore-scripts
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: bindings-x86_64-unknown-linux-musl
path: .
Expand All @@ -275,7 +275,7 @@ jobs:
- run: docker run --rm --privileged multiarch/qemu-user-static:register --reset
- uses: actions/checkout@v3
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: bindings-aarch64-unknown-linux-gnu
path: .
Expand Down Expand Up @@ -313,7 +313,7 @@ jobs:
- run: docker run --rm --privileged multiarch/qemu-user-static:register --reset
- uses: actions/checkout@v3
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: bindings-aarch64-unknown-linux-musl
path: .
Expand Down Expand Up @@ -363,7 +363,7 @@ jobs:
- name: Install dependencies
run: npm clean-install --ignore-scripts
- name: Download all artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: artifacts
- name: Move artifacts
Expand Down

0 comments on commit f95c9f6

Please sign in to comment.