1
0
mirror of https://github.com/janet-lang/janet synced 2025-03-11 10:58:09 +00:00

Merge pull request #1564 from pyrmont/bugfix.qemu-segfault

Use Alpine Linux as base image for s390x testing
This commit is contained in:
Calvin Rose 2025-03-05 05:52:20 -08:00 committed by GitHub
commit a456c67a7b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -132,7 +132,7 @@ jobs:
steps:
- name: Checkout the repository
uses: actions/checkout@master
- name: Do Qemu build and test
run: |
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
docker run --rm -v .:/janet --platform linux/s390x ubuntu bash -c "apt-get -y update && apt-get -y install git build-essential && cd /janet && make -j3 && make test"
- name: Enable qemu
run: docker run --privileged --rm tonistiigi/binfmt --install s390x
- name: Build and run on emulated architecture
run: docker run --rm -v .:/janet --platform linux/s390x alpine sh -c "apk update && apk add --no-interactive git build-base && cd /janet && make -j3 && make test"