]> git.kaiwu.me - quickjs.git/commitdiff
Fix multiarch CI builds
authorNick Vatamaniuc <vatamane@gmail.com>
Tue, 18 Mar 2025 23:29:55 +0000 (19:29 -0400)
committerNick Vatamaniuc <vatamane@gmail.com>
Tue, 18 Mar 2025 23:43:39 +0000 (19:43 -0400)
Fix: https://github.com/bellard/quickjs/issues/390

.github/workflows/ci.yml

index 9eab46fd110bef60d3aa2e1164ee64c88e090b6c..96f4d3f20246a6733fa8a407942dfad18b96c09d 100644 (file)
@@ -149,11 +149,12 @@ jobs:
       fail-fast: false
       matrix:
         platform:
-          - i386
-          - arm32v6
-          - arm32v7
-          - arm64v8
-          - s390x
+          - linux/386
+          - linux/riscv64
+          - linux/arm64
+          - linux/arm/v6
+          - linux/arm/v7
+          - linux/s390x
 
     steps:
       - uses: actions/checkout@v4
@@ -162,5 +163,4 @@ jobs:
       - name: Get qemu
         run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
       - name: Run tests on ${{ matrix.platform }}
-        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"
-
+        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"