Skip to content

Commit b30e4e2

Browse files
authored
ci asan update, aarch64 asan (#6423)
1 parent 32e7d53 commit b30e4e2

File tree

3 files changed

+28
-42
lines changed

3 files changed

+28
-42
lines changed

.github/workflows/linux-aarch64.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,20 @@ jobs:
5858
- name: test-simplestl-simplemath
5959
run: cd build-simplestl-simplemath && ctest --output-on-failure -j $(nproc)
6060

61+
asan:
62+
runs-on: ubuntu-24.04-arm
63+
steps:
64+
- uses: actions/checkout@v5
65+
- name: build
66+
run: |
67+
mkdir build && cd build
68+
cmake -DCMAKE_BUILD_TYPE=relwithdebinfo -DNCNN_ASAN=ON -DNCNN_BUILD_TESTS=ON -DNCNN_SHARED_LIB=ON -DNCNN_BUILD_TOOLS=OFF -DNCNN_BUILD_EXAMPLES=OFF ..
69+
cmake --build . -j $(nproc)
70+
- name: test
71+
run: |
72+
cd build
73+
ctest --output-on-failure -j $(nproc)
74+
6175
aarch64:
6276
runs-on: ubuntu-24.04
6377
steps:

.github/workflows/linux-x64-cpu-gcc-san.yml

Lines changed: 0 additions & 42 deletions
This file was deleted.

.github/workflows/linux-x64-cpu-gcc.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,20 @@ jobs:
8484
- name: test-noint8
8585
run: cd build-noint8 && ctest --output-on-failure -j $(nproc)
8686

87+
asan:
88+
runs-on: ubuntu-latest
89+
steps:
90+
- uses: actions/checkout@v5
91+
- name: build
92+
run: |
93+
mkdir build && cd build
94+
cmake -DCMAKE_BUILD_TYPE=relwithdebinfo -DNCNN_ASAN=ON -DNCNN_BUILD_TESTS=ON -DNCNN_SHARED_LIB=ON -DNCNN_BUILD_TOOLS=OFF -DNCNN_BUILD_EXAMPLES=OFF ..
95+
cmake --build . -j $(nproc)
96+
- name: test
97+
run: |
98+
cd build
99+
ctest --output-on-failure -j $(nproc)
100+
87101
linux-gcc-cpp03-nostdio-nostring-simplestl:
88102
runs-on: ubuntu-latest
89103
steps:

0 commit comments

Comments
 (0)