Skip to content

Commit

Permalink
编译依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
SOVLOOKUP committed Sep 30, 2023
1 parent 4a5ee4a commit 6a67ff0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ jobs:
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian
build: |-
sudo apt-get update &&
sudo apt-get install pkg-config glib-2.0 -y &&
sudo apt-get install pkg-config libglib2.0-dev -y &&
set -e &&
pnpm build:linux --target x86_64-unknown-linux-gnu &&
strip *.node
- host: ubuntu-latest
target: x86_64-unknown-linux-musl
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
build: apk update && apk add pkgconfig glib-2.0 && set -e && pnpm build:linux && strip *.node
build: apk update && apk add pkgconfig glib-dev && set -e && pnpm build:linux && strip *.node
- host: macos-latest
target: aarch64-apple-darwin
build: |
Expand All @@ -63,23 +63,23 @@ jobs:
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64
build: |-
sudo apt-get update &&
sudo apt-get install pkg-config glib-2.0 -y &&
sudo apt-get install pkg-config libglib2.0-dev -y &&
set -e &&
pnpm build:linux --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 pango -y
sudo apt-get install gcc-arm-linux-gnueabihf libpango -y
build: |
pnpm build:linux --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: |-
apk update && apk add pkgconfig glib-2.0 &&
apk update && apk add pkgconfig glib-dev &&
set -e &&
rustup target add aarch64-unknown-linux-musl &&
pnpm build:linux --target aarch64-unknown-linux-musl &&
Expand Down

0 comments on commit 6a67ff0

Please sign in to comment.