Skip to content

Commit

Permalink
Release 0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrycc committed Jul 6, 2023
1 parent 73ecaf2 commit c617830
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 47 deletions.
42 changes: 0 additions & 42 deletions .github/workflows/node-bind-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,61 +47,19 @@ jobs:
build: |
pnpm --filter @okamjs/okam build
strip -x ./crates/node/*.node
- host: windows-latest
build: pnpm --filter @okamjs/okam build
target: x86_64-pc-windows-msvc
- host: windows-latest
build: |
rustup target add i686-pc-windows-msvc
pnpm --filter @okamjs/okam build --target i686-pc-windows-msvc
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
build: |-
set -e &&
pnpm --filter @okamjs/okam build --target x86_64-unknown-linux-gnu &&
strip ./crates/node/*.node
- host: ubuntu-latest
target: x86_64-unknown-linux-musl
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
build: set -e && pnpm --filter @okamjs/okam build && strip ./crates/node/*.node
- host: macos-latest
target: aarch64-apple-darwin
build: |
rustup target add aarch64-apple-darwin
pnpm --filter @okamjs/okam build --target aarch64-apple-darwin
strip -x ./crates/node/*.node
- host: ubuntu-latest
target: aarch64-unknown-linux-gnu
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64
build: |-
set -e &&
rustup target add aarch64-unknown-linux-gnu &&
pnpm --filter @okamjs/okam build --target aarch64-unknown-linux-gnu &&
aarch64-unknown-linux-gnu-strip ./crates/node/*.node
- host: ubuntu-latest
target: armv7-unknown-linux-gnueabihf
setup: |
sudo apt-get update
sudo apt-get install gcc-arm-linux-gnueabihf -y
build: |
rustup target add armv7-unknown-linux-gnueabihf
pnpm --filter @okamjs/okam build --target armv7-unknown-linux-gnueabihf
arm-linux-gnueabihf-strip ./crates/node/*.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 &&
pnpm --filter @okamjs/okam build --target aarch64-unknown-linux-musl &&
/aarch64-linux-musl-cross/bin/aarch64-linux-musl-strip ./crates/node/*.node
- host: windows-latest
target: aarch64-pc-windows-msvc
build: |
rustup target add aarch64-pc-windows-msvc
pnpm --filter @okamjs/okam build --target aarch64-pc-windows-msvc
name: stable - ${{ matrix.settings.target }} - node@18
runs-on: ${{ matrix.settings.host }}
steps:
Expand Down
5 changes: 2 additions & 3 deletions crates/node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@okamjs/okam",
"version": "0.0.2",
"version": "0.0.3",
"main": "index.js",
"types": "index.d.ts",
"napi": {
Expand All @@ -10,8 +10,7 @@
"additional": [
"aarch64-apple-darwin",
"x86_64-apple-darwin",
"x86_64-unknown-linux-gnu",
"x86_64-unknown-linux-musl"
"x86_64-unknown-linux-gnu"
]
}
},
Expand Down
2 changes: 1 addition & 1 deletion packages/bundler-okam/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@alipay/umi-bundler-okam",
"version": "0.0.0-alpha.4",
"dependencies": {
"@okamjs/okam": "0.0.2",
"@okamjs/okam": "0.0.3",
"@swc/helpers": "0.5.1",
"node-libs-browser-okam": "2.2.2",
"react-refresh": "^0.14.0",
Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c617830

Please sign in to comment.