aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorMichael Camilleri <mike@inqk.net>2025-03-04 09:14:05 +0900
committerMichael Camilleri <mike@inqk.net>2025-03-04 09:14:05 +0900
commitcc8cd4bace2f351713db985e2c00682165ebee76 (patch)
treec745beed2d40250554a946eebebb117043ddd55e /.github
parentAdd more cases for checking coerce error. (diff)
Use uraimo GitHub action for s390x testing
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml16
1 files changed, 13 insertions, 3 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 4a385ab3..58e0f51e 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -133,6 +133,16 @@ jobs:
- 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"
+ uses: uraimo/run-on-arch-action@v3
+ with:
+ arch: s390x
+ distro: ubuntu_latest
+ dockerRunArgs: |
+ --volume ".:/janet"
+ install: |
+ apt-get -y update
+ apt-get -y install git build-essential
+ run: |
+ cd /janet
+ make -j3
+ make test