Skip to content

Commit

Permalink
fix: test case
Browse files Browse the repository at this point in the history
  • Loading branch information
ClarkXia committed May 8, 2024
1 parent 0a662ec commit 483a670
Showing 1 changed file with 48 additions and 48 deletions.
96 changes: 48 additions & 48 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,53 +24,53 @@ jobs:
fail-fast: false
matrix:
settings:
# - host: macos-latest
# name: darwin-x64
# target: x86_64-apple-darwin
# build: |
# cd crates/node_binding
# pnpm build --target x86_64-apple-darwin
# strip -x *.node
# - host: macos-latest
# name: darwin-arm64
# target: aarch64-apple-darwin
# build: |
# cd crates/node_binding
# pnpm build --target aarch64-apple-darwin
# strip -x *.node
# - host: windows-latest
# name: win32-x64-msvc
# target: x86_64-pc-windows-msvc
# build: |
# cd crates/node_binding
# pnpm build --target x86_64-pc-windows-msvc
# - host: windows-latest
# target: aarch64-pc-windows-msvc
# name: win32-arm64-msvc
# build: |
# cd crates/node_binding
# pnpm build --target aarch64-pc-windows-msvc
# - host: windows-latest
# target: i686-pc-windows-msvc
# name: win32-ia32-msvc
# build: |
# cd crates/node_binding
# pnpm build --target i686-pc-windows-msvc
# - host: ubuntu-latest
# target: x86_64-unknown-linux-gnu
# name: linux-x64-gnu
# docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian
# build: |-
# set -e &&
# cd crates/node_binding &&
# unset CC_x86_64_unknown_linux_gnu && unset CC &&
# pnpm build --target x86_64-unknown-linux-gnu &&
# strip *.node
# - host: ubuntu-latest
# name: linux-x64-musl
# target: x86_64-unknown-linux-musl
# docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
# build: cd crates/node_binding && set -e && pnpm build && strip *.node
- host: macos-latest
name: darwin-x64
target: x86_64-apple-darwin
build: |
cd crates/node_binding
pnpm build --target x86_64-apple-darwin
strip -x *.node
- host: macos-latest
name: darwin-arm64
target: aarch64-apple-darwin
build: |
cd crates/node_binding
pnpm build --target aarch64-apple-darwin
strip -x *.node
- host: windows-latest
name: win32-x64-msvc
target: x86_64-pc-windows-msvc
build: |
cd crates/node_binding
pnpm build --target x86_64-pc-windows-msvc
- host: windows-latest
target: aarch64-pc-windows-msvc
name: win32-arm64-msvc
build: |
cd crates/node_binding
pnpm build --target aarch64-pc-windows-msvc
- host: windows-latest
target: i686-pc-windows-msvc
name: win32-ia32-msvc
build: |
cd crates/node_binding
pnpm build --target i686-pc-windows-msvc
- host: ubuntu-latest
target: x86_64-unknown-linux-gnu
name: linux-x64-gnu
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian
build: |-
set -e &&
cd crates/node_binding &&
unset CC_x86_64_unknown_linux_gnu && unset CC &&
pnpm build --target x86_64-unknown-linux-gnu &&
strip *.node
- host: ubuntu-latest
name: linux-x64-musl
target: x86_64-unknown-linux-musl
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
build: cd crates/node_binding && set -e && pnpm build && strip *.node
- host: ubuntu-latest
target: aarch64-unknown-linux-gnu
name: linux-arm64-gnu
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
target/
key: ${{ matrix.settings.target }}-cargo-${{ matrix.settings.host }}
- uses: goto-bus-stop/setup-zig@v2
if: ${{ matrix.settings.target == 'armv7-unknown-linux-gnueabihf' }}
if: ${{ matrix.settings.target == 'armv7-unknown-linux-gnueabihf' || matrix.settings.target == 'aarch64-unknown-linux-gnu' || matrix.settings.target == 'aarch64-unknown-linux-musl' }}
with:
version: 0.10.1

Expand Down

0 comments on commit 483a670

Please sign in to comment.