@@ -213,130 +213,13 @@ jobs:
213213 shell : bash
214214 - name : Test bindings
215215 run : docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-alpine yarn test
216- test-linux-aarch64-gnu-binding :
217- name : Test bindings on aarch64-unknown-linux-gnu - node@${{ matrix.node }}
218- needs :
219- - build
220- strategy :
221- fail-fast : false
222- matrix :
223- node :
224- - ' 14'
225- - ' 16'
226- - ' 18'
227- runs-on : ubuntu-latest
228- steps :
229- - uses : actions/checkout@v3
230- - name : Download artifacts
231- uses : actions/download-artifact@v3
232- with :
233- name : bindings-aarch64-unknown-linux-gnu
234- path : .
235- - name : List packages
236- run : ls -R .
237- shell : bash
238- - name : Install dependencies
239- run : |
240- yarn config set supportedArchitectures.cpu "arm64"
241- yarn config set supportedArchitectures.libc "glibc"
242- yarn install
243- - name : Set up QEMU
244- uses : docker/setup-qemu-action@v2
245- with :
246- platforms : arm64
247- - run : docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
248- - name : Setup and run tests
249- uses : addnab/docker-run-action@v3
250- with :
251- image : node:${{ matrix.node }}-slim
252- options : ' --platform linux/arm64 -v ${{ github.workspace }}:/build -w /build'
253- run : |
254- set -e
255- yarn test
256- ls -la
257- test-linux-aarch64-musl-binding :
258- name : Test bindings on aarch64-unknown-linux-musl - node@${{ matrix.node }}
259- needs :
260- - build
261- runs-on : ubuntu-latest
262- steps :
263- - uses : actions/checkout@v3
264- - name : Download artifacts
265- uses : actions/download-artifact@v3
266- with :
267- name : bindings-aarch64-unknown-linux-musl
268- path : .
269- - name : List packages
270- run : ls -R .
271- shell : bash
272- - name : Install dependencies
273- run : |
274- yarn config set supportedArchitectures.cpu "arm64"
275- yarn config set supportedArchitectures.libc "musl"
276- yarn install
277- - name : Set up QEMU
278- uses : docker/setup-qemu-action@v2
279- with :
280- platforms : arm64
281- - run : docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
282- - name : Setup and run tests
283- uses : addnab/docker-run-action@v3
284- with :
285- image : node:lts-alpine
286- options : ' --platform linux/arm64 -v ${{ github.workspace }}:/build -w /build'
287- run : |
288- set -e
289- yarn test
290- test-linux-arm-gnueabihf-binding :
291- name : Test bindings on armv7-unknown-linux-gnueabihf - node@${{ matrix.node }}
292- needs :
293- - build
294- strategy :
295- fail-fast : false
296- matrix :
297- node :
298- - ' 14'
299- - ' 16'
300- - ' 18'
301- runs-on : ubuntu-latest
302- steps :
303- - uses : actions/checkout@v3
304- - name : Download artifacts
305- uses : actions/download-artifact@v3
306- with :
307- name : bindings-armv7-unknown-linux-gnueabihf
308- path : .
309- - name : List packages
310- run : ls -R .
311- shell : bash
312- - name : Install dependencies
313- run : |
314- yarn config set supportedArchitectures.cpu "arm"
315- yarn install
316- - name : Set up QEMU
317- uses : docker/setup-qemu-action@v2
318- with :
319- platforms : arm
320- - run : docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
321- - name : Setup and run tests
322- uses : addnab/docker-run-action@v3
323- with :
324- image : node:${{ matrix.node }}-bullseye-slim
325- options : ' --platform linux/arm/v7 -v ${{ github.workspace }}:/build -w /build'
326- run : |
327- set -e
328- yarn test
329- ls -la
330216 publish :
331217 name : Publish
332218 runs-on : ubuntu-latest
333219 needs :
334220 - test-macOS-windows-binding
335221 - test-linux-x64-gnu-binding
336222 - test-linux-x64-musl-binding
337- - test-linux-aarch64-gnu-binding
338- - test-linux-aarch64-musl-binding
339- - test-linux-arm-gnueabihf-binding
340223 steps :
341224 - uses : actions/checkout@v3
342225 - name : Setup node
0 commit comments