Skip to content

Commit 4b4027c

Browse files
authored
feat: add powerpc64le and s390x (#40)
1 parent ef5214a commit 4b4027c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/pure-rust-build-on-linux.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ jobs:
3535
flags: '-x'
3636
- target: armv7-unknown-linux-gnueabihf
3737
flags: '--use-napi-cross'
38+
- target: powerpc64le-unknown-linux-gnu
39+
flags: '--use-napi-cross'
40+
- target: s390x-unknown-linux-gnu
41+
flags: '--use-napi-cross'
3842
runs-on: ubuntu-latest
3943
steps:
4044
- uses: actions/checkout@v4
@@ -146,6 +150,12 @@ jobs:
146150
- target: armv7-unknown-linux-gnueabihf
147151
docker: node:22-bullseye-slim
148152
args: '--platform linux/arm/v7'
153+
- target: s390x-unknown-linux-gnu
154+
docker: node:22-slim
155+
args: '--platform linux/s390x'
156+
- target: powerpc64le-unknown-linux-gnu
157+
docker: node:22-slim
158+
args: '--platform linux/ppc64le'
149159
runs-on: ${{ contains(matrix.settings.target, 'aarch64') && 'ubuntu-24.04-arm' || 'ubuntu-latest' }}
150160
needs:
151161
- build
@@ -171,6 +181,8 @@ jobs:
171181
if: ${{ !contains(matrix.settings.target, 'aarch64') }}
172182
- name: Run tests
173183
uses: addnab/docker-run-action@v3
184+
# Node.js on qemu randomly segfaults on powerpc64le
185+
continue-on-error: ${{ matrix.settings.target == 'powerpc64le-unknown-linux-gnu' }}
174186
with:
175187
image: ${{ matrix.settings.docker }}
176188
options: ${{ matrix.settings.args }} -v ${{ github.workspace }}:/build -w /build

0 commit comments

Comments
 (0)