diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0f09d3d..1932b8d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -81,7 +81,7 @@ jobs: export JEMALLOC_SYS_WITH_LG_PAGE=16 && export CC_aarch64_unknown_linux_gnu=/usr/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-gcc && rustup target add aarch64-unknown-linux-gnu && pnpm build --target aarch64-unknown-linux-gnu && - strip *.node + aarch64-unknown-linux-gnu-strip *.node - host: ubuntu-latest target: aarch64-unknown-linux-musl name: linux-arm64-musl @@ -92,7 +92,7 @@ jobs: export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=aarch64-linux-musl-gcc && rustup target add aarch64-unknown-linux-musl && pnpm build --target aarch64-unknown-linux-musl && - strip *.node + /aarch64-linux-musl-cross/bin/aarch64-linux-musl-strip *.node name: stable - ${{ matrix.settings.target }} - node@18 runs-on: ${{ matrix.settings.host }} steps: