aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorCalvin Rose <calsrose@gmail.com>2024-09-06 18:23:55 -0500
committerCalvin Rose <calsrose@gmail.com>2024-09-06 18:23:55 -0500
commit40c93d07865f40a4d3f2eaee5a410a8feea1c97f (patch)
treeb66b39fdc81edbb98333fdd67b920a1a27b67373 /.github
parentTry running inside a container. (diff)
Try using just scripts for testing.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml18
1 files changed, 6 insertions, 12 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index c08072b4..cc7c04f4 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -93,16 +93,10 @@ jobs:
test-s390x-linux:
name: Build and test s390x in qemu
runs-on: ubuntu-latest
- container:
- image: s390x/ubuntu
steps:
- - name: Checkout the repository
- uses: actions/checkout@master
- - name: Setup compiler
- run: |
- sudo apt-get update
- sudo apt-get install build-essential git
- - name: Compile the project
- run: make clean && make
- - name: Test the project
- run: make test
+ - 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 -it s390x/ubuntu bash -c "apt-get -y update && apt-get -y install git build-essential && make -j3 && make test"