Skip to content

Commit

Permalink
Add arm64 and armv7 test runners for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
m4heshd committed Jan 25, 2022
1 parent 0d34534 commit 3d1f36b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,21 @@ jobs:
npm install --ignore-scripts && \
npm run build-debug && \
npm test"
test-linux-arm:
strategy:
matrix:
arch:
- arm/v7
- arm64
name: Testing Node 16 on Linux (${{ matrix.arch }})
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/setup-qemu-action@v1
- run: |
docker run --rm -v $(pwd):/tmp/project --entrypoint /bin/sh --platform linux/${{ matrix.arch }} node:16 -c "\
cd /tmp/project && \
npm install --ignore-scripts && \
npm run build-debug && \
npm test"

0 comments on commit 3d1f36b

Please sign in to comment.