3737 components : clippy, rustfmt
3838 - name : Install dependencies
3939 run : yarn install
40- # - name: Oxlint
41- # run: yarn lint
4240 - name : Cargo fmt
4341 run : cargo fmt -- --check
44- # - name: Clippy
45- # run: cargo clippy
4642 build :
4743 strategy :
4844 fail-fast : false
8480 - host : windows-latest
8581 target : aarch64-pc-windows-msvc
8682 build : yarn build --target aarch64-pc-windows-msvc
87- # - host: ubuntu-latest
88- # target: wasm32-wasip1-threads
89- # build: yarn build --target wasm32-wasip1-threads
9083 name : stable - ${{ matrix.settings.target }} - node@22
9184 runs-on : ${{ matrix.settings.host }}
9285 steps :
@@ -186,147 +179,6 @@ jobs:
186179 name : bindings-freebsd
187180 path : ${{ env.APP_NAME }}.*.node
188181 if-no-files-found : error
189- # test-macOS-windows-binding:
190- # name: Test bindings on ${{ matrix.settings.target }} - node@${{ matrix.node }}
191- # needs:
192- # - build
193- # strategy:
194- # fail-fast: false
195- # matrix:
196- # settings:
197- # - host: windows-latest
198- # target: x86_64-pc-windows-msvc
199- # architecture: x64
200- # - host: windows-11-arm
201- # target: aarch64-pc-windows-msvc
202- # architecture: arm64
203- # - host: macos-latest
204- # target: aarch64-apple-darwin
205- # architecture: arm64
206- # - host: macos-latest
207- # target: x86_64-apple-darwin
208- # architecture: x64
209- # node:
210- # - "20"
211- # - "22"
212- # runs-on: ${{ matrix.settings.host }}
213- # steps:
214- # - uses: actions/checkout@v6
215- # - name: Setup node
216- # uses: actions/setup-node@v6
217- # with:
218- # node-version: ${{ matrix.node }}
219- # cache: yarn
220- # architecture: ${{ matrix.settings.architecture }}
221- # - name: Install dependencies
222- # run: yarn install
223- # - name: Download artifacts
224- # uses: actions/download-artifact@v6
225- # with:
226- # name: bindings-${{ matrix.settings.target }}
227- # path: .
228- # - name: List packages
229- # run: ls -R .
230- # shell: bash
231- # - name: Test bindings
232- # run: yarn test
233- # test-linux-binding:
234- # name: Test ${{ matrix.target }} - node@${{ matrix.node }}
235- # needs:
236- # - build
237- # strategy:
238- # fail-fast: false
239- # matrix:
240- # target:
241- # - x86_64-unknown-linux-gnu
242- # - x86_64-unknown-linux-musl
243- # - aarch64-unknown-linux-gnu
244- # - aarch64-unknown-linux-musl
245- # - armv7-unknown-linux-gnueabihf
246- # node:
247- # - "20"
248- # - "22"
249- # runs-on: ${{ contains(matrix.target, 'aarch64') && 'ubuntu-24.04-arm' || 'ubuntu-latest' }}
250- # steps:
251- # - uses: actions/checkout@v6
252- # - name: Setup node
253- # uses: actions/setup-node@v6
254- # with:
255- # node-version: ${{ matrix.node }}
256- # cache: yarn
257- # - name: Output docker params
258- # id: docker
259- # run: |
260- # node -e "
261- # if ('${{ matrix.target }}'.startsWith('aarch64')) {
262- # console.log('PLATFORM=linux/arm64')
263- # } else if ('${{ matrix.target }}'.startsWith('armv7')) {
264- # console.log('PLATFORM=linux/arm/v7')
265- # } else {
266- # console.log('PLATFORM=linux/amd64')
267- # }
268- # " >> $GITHUB_OUTPUT
269- # node -e "
270- # if ('${{ matrix.target }}'.endsWith('-musl')) {
271- # console.log('IMAGE=node:${{ matrix.node }}-alpine')
272- # } else {
273- # console.log('IMAGE=node:${{ matrix.node }}-slim')
274- # }
275- # " >> $GITHUB_OUTPUT
276- # - name: Install dependencies
277- # run: |
278- # yarn config set --json supportedArchitectures.cpu '["current", "arm64", "x64", "arm"]'
279- # yarn config set --json supportedArchitectures.libc '["current", "musl", "gnu"]'
280- # yarn install
281- # - name: Download artifacts
282- # uses: actions/download-artifact@v6
283- # with:
284- # name: bindings-${{ matrix.target }}
285- # path: .
286- # - name: List packages
287- # run: ls -R .
288- # shell: bash
289- # - name: Set up QEMU
290- # uses: docker/setup-qemu-action@v3
291- # if: ${{ contains(matrix.target, 'armv7') }}
292- # with:
293- # platforms: all
294- # - run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
295- # if: ${{ contains(matrix.target, 'armv7') }}
296- # - name: Test bindings
297- # uses: addnab/docker-run-action@v3
298- # with:
299- # image: ${{ steps.docker.outputs.IMAGE }}
300- # options: "-v ${{ github.workspace }}:${{ github.workspace }} -w ${{ github.workspace }} --platform ${{ steps.docker.outputs.PLATFORM }}"
301- # run: yarn test
302- # test-wasi:
303- # name: Test WASI target
304- # needs:
305- # - build
306- # runs-on: ubuntu-latest
307- # steps:
308- # - uses: actions/checkout@v6
309- # - name: Setup node
310- # uses: actions/setup-node@v6
311- # with:
312- # node-version: 24
313- # cache: yarn
314- # - name: Install dependencies
315- # run: |
316- # yarn config set supportedArchitectures.cpu "wasm32"
317- # yarn install
318- # - name: Download artifacts
319- # uses: actions/download-artifact@v6
320- # with:
321- # name: bindings-wasm32-wasip1-threads
322- # path: .
323- # - name: List packages
324- # run: ls -R .
325- # shell: bash
326- # - name: Test bindings
327- # run: yarn test
328- # env:
329- # NAPI_RS_FORCE_WASI: 1
330182 publish :
331183 name : Publish
332184 runs-on : ubuntu-latest
@@ -336,9 +188,6 @@ jobs:
336188 needs :
337189 - lint
338190 - build-freebsd
339- # - test-macOS-windows-binding
340- # - test-linux-binding
341- # - test-wasi
342191 steps :
343192 - uses : actions/checkout@v6
344193 - name : Setup node
0 commit comments