Use qemu on ton9 to test s390x.
@@ -3,20 +3,11 @@ name: s390x-test
on: [push]
jobs:
- test:
-
- # The host should always be linux
- runs-on: ubuntu-latest
- name: Build on ${{ matrix.distro }} ${{ matrix.arch }}
-
- # Run steps on a matrix of 3 arch/distro combinations
- strategy:
- matrix:
- include:
- - arch: s390x
- distro: stretch
-
+ s390x:
+ # The host should always be Linux
+ runs-on: [self-hosted, linux, X64, gcc10-s390x]
+ name: Build and test under qemu on gcc10 x86_64
steps:
- uses: actions/checkout@v1
- name: make test
- run: make test
+ run: ~/mir-s390x-test.sh master `git log |head -1|awk '{print $2}'`
