Skip to content

Commit 39fd57e

Browse files
committed
try arm build action on qemu
1 parent 7b9d56a commit 39fd57e

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

.github/workflows/workflow.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,22 @@ jobs:
3232
- name: Build It
3333
# Build your program with the given configuration
3434
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
35-
35+
36+
build-on-arm-too:
37+
runs-on: ubuntu-latest
38+
steps:
39+
- uses: actions/checkout@v2
40+
- uses: uraimo/run-on-arch-action@v2
41+
with:
42+
arch: aarch64
43+
distro: ubuntu20.04
44+
run: |
45+
apt-get update && apt-get install -y cmake g++ clang-tidy libcurl4-openssl-dev
46+
cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_CXX_CLANG_TIDY=clang-tidy
47+
cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
48+
49+
50+
3651
format:
3752
runs-on: ubuntu-latest
3853

@@ -41,4 +56,5 @@ jobs:
4156

4257
- name: Check Formatting
4358
run: ./ci/codebuild/format-check.sh
44-
59+
60+

0 commit comments

Comments
 (0)