Skip to content

Commit 0702aa5

Browse files
committed
Add GitHub Actions file for testing
1 parent 92c7a0a commit 0702aa5

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/test.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
on: push
2+
3+
jobs:
4+
5+
run-tests-native:
6+
runs-on: ubuntu-24.04-arm
7+
strategy:
8+
matrix:
9+
cxx-compiler: [g++, clang++]
10+
defaults:
11+
run:
12+
shell: bash --noprofile --norc -euxo pipefail {0}
13+
steps:
14+
- name: Checkout the repository
15+
uses: actions/checkout@v4
16+
- name: Build and run tests
17+
uses: devcontainers/[email protected]
18+
with:
19+
configFile: .devcontainer/aarch64-native/devcontainer.json
20+
runCmd: |
21+
cmake . \
22+
-D CMAKE_BUILD_TYPE='Release' \
23+
-D CMAKE_CXX_COMPILER='${{ matrix.cxx-compiler }}' \
24+
-D CMAKE_CXX_FLAGS='-Ofast -march=native -mtune=native -msve-vector-bits=128'
25+
cmake --build . -v
26+
cmake --build . --target test

0 commit comments

Comments
 (0)