mirror of
https://github.com/bellard/quickjs.git
synced 2025-05-15 18:52:00 +08:00
Merge pull request #391 from nickva/try-to-fix-multiplatform-builds
Fix multiarch CI builds
This commit is contained in:
commit
22dbf49e25
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
@ -149,11 +149,12 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
platform:
|
platform:
|
||||||
- i386
|
- linux/386
|
||||||
- arm32v6
|
- linux/riscv64
|
||||||
- arm32v7
|
- linux/arm64
|
||||||
- arm64v8
|
- linux/arm/v6
|
||||||
- s390x
|
- linux/arm/v7
|
||||||
|
- linux/s390x
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -162,5 +163,4 @@ jobs:
|
|||||||
- name: Get qemu
|
- name: Get qemu
|
||||||
run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
|
run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
|
||||||
- name: Run tests on ${{ matrix.platform }}
|
- 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"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user