Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ClarkXia committed May 9, 2024
1 parent 62f3305 commit 6f5e630
Show file tree
Hide file tree
Showing 8 changed files with 107 additions and 2 deletions.
26 changes: 25 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:
'on':
push:
branches:
- stable/css-modules-hash
- fix/stable-ci
tags-ignore:
- '**'
paths-ignore:
Expand All @@ -33,6 +33,10 @@ jobs:
- host: windows-latest
build: yarn build
target: x86_64-pc-windows-msvc
- host: windows-latest
target: i686-pc-windows-msvc
name: win32-ia32-msvc
build: yarn build --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 @@ -44,6 +48,26 @@ jobs:
target: x86_64-unknown-linux-musl
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
build: set -e && yarn build && strip *.node
- host: ubuntu-latest
target: aarch64-unknown-linux-gnu
name: linux-arm64-gnu
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64
build: |-
set -e &&
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 &&
yarn build --target aarch64-unknown-linux-gnu &&
aarch64-unknown-linux-gnu-strip *.node
- host: ubuntu-latest
target: aarch64-unknown-linux-musl
name: linux-arm64-musl
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
build: |-
set -e &&
export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=aarch64-linux-musl-gcc &&
rustup target add aarch64-unknown-linux-musl &&
yarn build --target aarch64-unknown-linux-musl &&
/aarch64-linux-musl-cross/bin/aarch64-linux-musl-strip *.node
- host: macos-latest
target: aarch64-apple-darwin
build: |
Expand Down
3 changes: 3 additions & 0 deletions npm/linux-arm64-gnu/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# `@ice/css-modules-hash-linux-arm64-gnu`

This is the **aarch64-unknown-linux-gnu** binary for `@ice/css-modules-hash`
24 changes: 24 additions & 0 deletions npm/linux-arm64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "@ice/css-modules-hash-linux-arm64-gnu",
"version": "0.0.6",
"os": [
"linux"
],
"cpu": [
"arm64"
],
"main": "css-modules-hash.linux-arm64-gnu.node",
"files": [
"css-modules-hash.linux-arm64-gnu.node"
],
"license": "MIT",
"engines": {
"node": ">= 10"
},
"libc": [
"glibc"
],
"repository": {
"url": "https://github.com/ice-lab/icepack"
}
}
3 changes: 3 additions & 0 deletions npm/linux-arm64-musl/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# `@ice/css-modules-hash-linux-arm64-musl`

This is the **aarch64-unknown-linux-musl** binary for `@ice/css-modules-hash`
24 changes: 24 additions & 0 deletions npm/linux-arm64-musl/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "@ice/css-modules-hash-linux-arm64-musl",
"version": "0.0.6",
"os": [
"linux"
],
"cpu": [
"arm64"
],
"main": "css-modules-hash.linux-arm64-musl.node",
"files": [
"css-modules-hash.linux-arm64-musl.node"
],
"license": "MIT",
"engines": {
"node": ">= 10"
},
"libc": [
"musl"
],
"repository": {
"url": "https://github.com/ice-lab/icepack"
}
}
3 changes: 3 additions & 0 deletions npm/win32-ia32-msvc/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# `@ice/css-modules-hash-win32-ia32-msvc`

This is the **i686-pc-windows-msvc** binary for `@ice/css-modules-hash`
21 changes: 21 additions & 0 deletions npm/win32-ia32-msvc/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "@ice/css-modules-hash-win32-ia32-msvc",
"version": "0.0.6",
"os": [
"win32"
],
"cpu": [
"i686"
],
"main": "css-modules-hash.win32-ia32-msvc.node",
"files": [
"css-modules-hash.win32-ia32-msvc.node"
],
"license": "MIT",
"engines": {
"node": ">= 10"
},
"repository": {
"url": "https://github.com/ice-lab/icepack"
}
}
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
"aarch64-apple-darwin",
"aarch64-pc-windows-msvc",
"x86_64-unknown-linux-musl",
"universal-apple-darwin"
"universal-apple-darwin",
"aarch64-unknown-linux-gnu",
"aarch64-unknown-linux-musl",
"i686-pc-windows-msvc"
]
}
},
Expand Down

0 comments on commit 6f5e630

Please sign in to comment.