Skip to content

Commit d9069fb

Browse files
committed
add binding test
1 parent 72053d6 commit d9069fb

File tree

1 file changed

+40
-40
lines changed

1 file changed

+40
-40
lines changed

.github/workflows/CI.yml

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -248,46 +248,46 @@ jobs:
248248
- name: Test bindings
249249
run: docker run --rm -v $(pwd):/build -w /build node:${{ matrix.node }}-slim yarn test
250250

251-
# test-linux-aarch64-gnu-binding:
252-
# name: Test bindings on aarch64-unknown-linux-gnu - node@${{ matrix.node }}
253-
# needs:
254-
# - build
255-
# strategy:
256-
# fail-fast: false
257-
# matrix:
258-
# node:
259-
# - '18'
260-
# - '20'
261-
# runs-on: ubuntu-latest
262-
# steps:
263-
# - uses: actions/checkout@v4
264-
# - name: Download artifacts
265-
# uses: actions/download-artifact@v4
266-
# with:
267-
# name: bindings-aarch64-unknown-linux-gnu
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 "glibc"
276-
# yarn install
277-
# - name: Set up QEMU
278-
# uses: docker/setup-qemu-action@v3
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:${{ matrix.node }}-slim
286-
# options: '--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build'
287-
# run: |
288-
# set -e
289-
# yarn test
290-
# ls -la
251+
test-linux-aarch64-gnu-binding:
252+
name: Test bindings on aarch64-unknown-linux-gnu - node@${{ matrix.node }}
253+
needs:
254+
- build
255+
strategy:
256+
fail-fast: false
257+
matrix:
258+
node:
259+
- '18'
260+
- '20'
261+
runs-on: ubuntu-latest
262+
steps:
263+
- uses: actions/checkout@v4
264+
- name: Download artifacts
265+
uses: actions/download-artifact@v4
266+
with:
267+
name: bindings-aarch64-unknown-linux-gnu
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 "glibc"
276+
yarn install
277+
- name: Set up QEMU
278+
uses: docker/setup-qemu-action@v3
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:${{ matrix.node }}-slim
286+
options: '--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build'
287+
run: |
288+
set -e
289+
yarn test
290+
ls -la
291291
292292
# test-linux-arm-gnueabihf-binding:
293293
# name: Test bindings on armv7-unknown-linux-gnueabihf - node@${{ matrix.node }}

0 commit comments

Comments
 (0)