Skip to content

Commit

Permalink
fix: test simple ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ClarkXia committed May 9, 2024
1 parent ef581d0 commit e79f260
Showing 1 changed file with 47 additions and 47 deletions.
94 changes: 47 additions & 47 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

0 comments on commit e79f260

Please sign in to comment.