From 677b8a6f320e9170ea047fea9af74602881c4659 Mon Sep 17 00:00:00 2001 From: Ico Doornekamp Date: Mon, 12 Jun 2023 21:01:26 +0200 Subject: [PATCH] Added ARM32 test --- .github/workflows/test.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c620c513..1f80964f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -74,3 +74,18 @@ jobs: run: make clean && make CC=x86_64-w64-mingw32-gcc LD=x86_64-w64-mingw32-gcc UNAME=MINGW RUN=wine - name: Test the project run: make test UNAME=MINGW RUN=wine + + test-arm-linux: + name: Build and test ARM32 cross compilation + runs-on: ubuntu-latest + steps: + - name: Checkout the repository + uses: actions/checkout@master + - name: Setup qemu and cross compiler + run: | + sudo apt-get update + sudo apt-get install gcc-arm-linux-gnueabi qemu-user + - name: Compile the project + 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/" test