aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorCalvin Rose <calsrose@gmail.com>2024-09-06 10:28:54 -0500
committerCalvin Rose <calsrose@gmail.com>2024-09-06 10:28:54 -0500
commit17da53d0d9ffefa391c85b2aa724a5338abdaf3a (patch)
treeac0a613c59e894a736a78b8f045b15c11ddae6c7 /.github
parentFix endianess issues on s390x architecture. (diff)
Add github workflow for qemu + s390x
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index e26ed7ed..de0b2356 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -89,3 +89,18 @@ jobs:
run: make RUN="qemu-arm -L /usr/arm-linux-gnueabi/" CC=arm-linux-gnueabi-gcc LD=arm-linux-gnueabi-gcc
- name: Test the project
run: make RUN="qemu-arm -L /usr/arm-linux-gnueabi/" SUBRUN="qemu-arm -L /usr/arm-linux-gnueabi/" test VERBOSE=1
+
+ test-s390x-linux:
+ name: Build and test s390x in qemu
+ runs-on: 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