Skip to content

Commit 22dbf49

Browse files
authoredMar 19, 2025··
Merge pull request #391 from nickva/try-to-fix-multiplatform-builds
Fix multiarch CI builds
2 parents ee4cd4d + e9c69f7 commit 22dbf49

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed
 

‎.github/workflows/ci.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,12 @@ jobs:
149149
fail-fast: false
150150
matrix:
151151
platform:
152-
- i386
153-
- arm32v6
154-
- arm32v7
155-
- arm64v8
156-
- s390x
152+
- linux/386
153+
- linux/riscv64
154+
- linux/arm64
155+
- linux/arm/v6
156+
- linux/arm/v7
157+
- linux/s390x
157158

158159
steps:
159160
- uses: actions/checkout@v4
@@ -162,5 +163,4 @@ jobs:
162163
- name: Get qemu
163164
run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
164165
- name: Run tests on ${{ matrix.platform }}
165-
run: docker run --rm --interactive --mount type=bind,source=$(pwd),target=/host ${{ matrix.platform }}/alpine sh -c "apk add git patch make gcc libc-dev && cd /host && make test"
166-
166+
run: docker run --rm --interactive --mount type=bind,source=$(pwd),target=/host --platform ${{ matrix.platform }} alpine sh -c "apk add git patch make gcc libc-dev && cd /host && make test"

0 commit comments

Comments
 (0)
Please sign in to comment.