From 39fd57e3061f6b9d72ce95e1582fb23fa903f3be Mon Sep 17 00:00:00 2001 From: Bryan Moffatt Date: Fri, 22 Jul 2022 16:10:38 -0700 Subject: [PATCH] try arm build action on qemu --- .github/workflows/workflow.yml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 334e2f8..14bb1da 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -32,7 +32,22 @@ jobs: - name: Build It # Build your program with the given configuration run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} - + + build-on-arm-too: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: uraimo/run-on-arch-action@v2 + with: + arch: aarch64 + distro: ubuntu20.04 + run: | + apt-get update && apt-get install -y cmake g++ clang-tidy libcurl4-openssl-dev + cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_CXX_CLANG_TIDY=clang-tidy + cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} + + + format: runs-on: ubuntu-latest @@ -41,4 +56,5 @@ jobs: - name: Check Formatting run: ./ci/codebuild/format-check.sh - + +