Skip to content

Commit ccb7a26

Browse files
authored
Add workflow file to run arm-based testing with sanitizers (#649)
1 parent dae22a5 commit ccb7a26

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.github/workflows/aarch64.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Ubuntu aarch64 (GCC 12)
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened, ready_for_review]
6+
paths-ignore:
7+
- '**.md'
8+
- 'docs/**'
9+
push:
10+
branches:
11+
- main
12+
paths-ignore:
13+
- '**.md'
14+
- 'docs/**'
15+
16+
concurrency:
17+
group: ${{ github.workflow }}-${{ github.ref }}
18+
cancel-in-progress: true
19+
20+
jobs:
21+
build:
22+
runs-on: ubuntu-latest
23+
strategy:
24+
matrix:
25+
shared: [ON, OFF]
26+
steps:
27+
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
28+
- uses: uraimo/run-on-arch-action@v2
29+
name: Build and Test
30+
id: runcmd
31+
env:
32+
CXX: g++-12
33+
with:
34+
arch: aarch64
35+
githubToken: ${{ github.token }}
36+
distro: ubuntu_latest
37+
install: |
38+
apt-get update -q -y
39+
apt-get install -y cmake make g++ ninja-build
40+
run: |
41+
cmake -DADA_SANITIZE=ON -DADA_DEVELOPMENT_CHECKS=ON -DBUILD_SHARED_LIBS=${{matrix.shared}} -G Ninja -B build
42+
cmake --build build -j=2
43+
ctest --test-dir build

0 commit comments

Comments
 (0)