diff options
| author | 2025-03-04 15:01:25 +0900 | |
|---|---|---|
| committer | 2025-03-04 15:01:25 +0900 | |
| commit | ab6afa72fdd355bae9110a6c8b9aef79ff3e7bbe (patch) | |
| tree | 4e210aa7ff6eac362071f622a7af885775ace781 /.github | |
| parent | Use uraimo GitHub action for s390x testing (diff) | |
Use simpler base image
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/test.yml | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 58e0f51e..563e33b5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -132,17 +132,7 @@ jobs: steps: - name: Checkout the repository uses: actions/checkout@master - - name: Do Qemu build and 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 + - 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 ubuntu bash -c "apt-get -y update && apt-get -y install git build-essential && cd /janet && make -j3 && make test" |
