File tree Expand file tree Collapse file tree 3 files changed +64
-0
lines changed Expand file tree Collapse file tree 3 files changed +64
-0
lines changed Original file line number Diff line number Diff line change 29
29
target : x86_64-unknown-linux-gnu
30
30
docker : ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian
31
31
build : yarn build --target x86_64-unknown-linux-gnu
32
+ - host : ubuntu-latest
33
+ target : x86_64-unknown-linux-musl
34
+ docker : ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian
35
+ build : yarn build --target x86_64-unknown-linux-musl
32
36
- host : macos-latest
33
37
target : x86_64-apple-darwin
34
38
build : yarn build --target x86_64-apple-darwin
@@ -173,6 +177,38 @@ jobs:
173
177
shell : bash
174
178
- name : Test bindings
175
179
run : docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-slim yarn test
180
+ test-linux-x64-musl-binding :
181
+ name : Test bindings on Linux-x64-musl - node@${{ matrix.node }}
182
+ needs :
183
+ - build
184
+ strategy :
185
+ fail-fast : false
186
+ matrix :
187
+ node :
188
+ - ' 18'
189
+ - ' 20'
190
+ runs-on : ubuntu-latest
191
+ steps :
192
+ - uses : actions/checkout@v4
193
+ - name : Enable Corepack
194
+ run : corepack enable
195
+ - name : Setup node
196
+ uses : actions/setup-node@v4
197
+ with :
198
+ node-version : ${{ matrix.node }}
199
+ cache : yarn
200
+ - name : Install dependencies
201
+ run : yarn install
202
+ - name : Download artifacts
203
+ uses : actions/download-artifact@v4
204
+ with :
205
+ name : bindings-x86_64-unknown-linux-musl
206
+ path : .
207
+ - name : List packages
208
+ run : ls -R .
209
+ shell : bash
210
+ - name : Test bindings
211
+ run : docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-slim yarn test
176
212
publish :
177
213
name : Publish
178
214
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change
1
+ # ` @mineskin/hash-rust-linux-x64-musl `
2
+
3
+ This is the ** x86_64-unknown-linux-musl** binary for ` @mineskin/hash-rust `
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " @mineskin/hash-rust-linux-x64-musl" ,
3
+ "version" : " 1.0.0" ,
4
+ "os" : [
5
+ " linux"
6
+ ],
7
+ "cpu" : [
8
+ " x64"
9
+ ],
10
+ "main" : " mineskin-hash-rust.linux-x64-musl.node" ,
11
+ "files" : [
12
+ " mineskin-hash-rust.linux-x64-musl.node"
13
+ ],
14
+ "license" : " MIT" ,
15
+ "engines" : {
16
+ "node" : " >= 10"
17
+ },
18
+ "repository" : " https://github.com/MineSkin/mineskin-hash-rust.git" ,
19
+ "publishConfig" : {
20
+ "registry" : " https://npm.pkg.github.com/"
21
+ },
22
+ "libc" : [
23
+ " glibc"
24
+ ]
25
+ }
You can’t perform that action at this time.
0 commit comments