Skip to content

Commit

Permalink
feat: 修改ci
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzejia authored and liuzejia committed Jul 11, 2024
1 parent 3c8aaeb commit 67a1212
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 146 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ jobs:
- host: windows-latest
build: yarn build
target: x86_64-pc-windows-msvc
- host: windows-latest
build: |
yarn build --target i686-pc-windows-msvc
yarn test
target: i686-pc-windows-msvc
- host: ubuntu-latest
target: x86_64-unknown-linux-gnu
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian
Expand All @@ -51,29 +46,6 @@ jobs:
build: |
yarn build --target aarch64-apple-darwin
strip -x *.node
- host: ubuntu-latest
target: aarch64-unknown-linux-gnu
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64
build: |-
set -e &&
yarn build --target aarch64-unknown-linux-gnu &&
aarch64-unknown-linux-gnu-strip *.node
- host: ubuntu-latest
target: armv7-unknown-linux-gnueabihf
setup: |
sudo apt-get update
sudo apt-get install gcc-arm-linux-gnueabihf -y
build: |
yarn build --target armv7-unknown-linux-gnueabihf
arm-linux-gnueabihf-strip *.node
- host: ubuntu-latest
target: aarch64-unknown-linux-musl
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
build: |-
set -e &&
rustup target add aarch64-unknown-linux-musl &&
yarn build --target aarch64-unknown-linux-musl &&
/aarch64-linux-musl-cross/bin/aarch64-linux-musl-strip *.node
name: stable - ${{ matrix.settings.target }} - node@18
runs-on: ${{ matrix.settings.host }}
steps:
Expand Down
3 changes: 0 additions & 3 deletions npm/darwin-universal/README.md

This file was deleted.

16 changes: 0 additions & 16 deletions npm/darwin-universal/package.json

This file was deleted.

3 changes: 0 additions & 3 deletions npm/linux-arm-gnueabihf/README.md

This file was deleted.

19 changes: 0 additions & 19 deletions npm/linux-arm-gnueabihf/package.json

This file was deleted.

3 changes: 0 additions & 3 deletions npm/linux-arm64-gnu/README.md

This file was deleted.

22 changes: 0 additions & 22 deletions npm/linux-arm64-gnu/package.json

This file was deleted.

3 changes: 0 additions & 3 deletions npm/linux-arm64-musl/README.md

This file was deleted.

22 changes: 0 additions & 22 deletions npm/linux-arm64-musl/package.json

This file was deleted.

3 changes: 0 additions & 3 deletions npm/win32-ia32-msvc/README.md

This file was deleted.

19 changes: 0 additions & 19 deletions npm/win32-ia32-msvc/package.json

This file was deleted.

6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@
"defaults": true,
"additional": [
"aarch64-apple-darwin",
"aarch64-unknown-linux-gnu",
"aarch64-unknown-linux-musl",
"armv7-unknown-linux-gnueabihf",
"x86_64-unknown-linux-musl",
"i686-pc-windows-msvc"
"aarch64-apple-darwin"
]
}
},
Expand Down

0 comments on commit 67a1212

Please sign in to comment.