ci asan update, aarch64 asan (#6423)

This commit is contained in:
nihui
2025-11-26 14:43:13 +08:00
committed by GitHub
parent 32e7d53f82
commit b30e4e257a
3 changed files with 28 additions and 42 deletions
+14
View File
@@ -58,6 +58,20 @@ jobs:
- name: test-simplestl-simplemath
run: cd build-simplestl-simplemath && ctest --output-on-failure -j $(nproc)
asan:
runs-on: ubuntu-24.04-arm
steps:
- uses: actions/checkout@v5
- name: build
run: |
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=relwithdebinfo -DNCNN_ASAN=ON -DNCNN_BUILD_TESTS=ON -DNCNN_SHARED_LIB=ON -DNCNN_BUILD_TOOLS=OFF -DNCNN_BUILD_EXAMPLES=OFF ..
cmake --build . -j $(nproc)
- name: test
run: |
cd build
ctest --output-on-failure -j $(nproc)
aarch64:
runs-on: ubuntu-24.04
steps:
@@ -1,42 +0,0 @@
name: linux-x64-cpu-gcc-san
on:
push:
branches: [master]
paths:
- '.github/workflows/linux-x64-cpu-gcc-san.yml'
- 'CMakeLists.txt'
- 'cmake/**'
- 'src/*'
- 'src/layer/*'
- 'src/layer/x86/**'
- 'tests/**'
pull_request:
branches: [master]
paths:
- '.github/workflows/linux-x64-cpu-gcc-san.yml'
- 'CMakeLists.txt'
- 'cmake/**'
- 'src/*'
- 'src/layer/*'
- 'src/layer/x86/**'
- 'tests/**'
concurrency:
group: linux-x64-cpu-gcc-san-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
linux-gcc-san:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: build
run: |
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=debug -DNCNN_ASAN=ON -DNCNN_BUILD_TESTS=ON -DNCNN_SHARED_LIB=ON -DNCNN_BUILD_TOOLS=OFF -DNCNN_BUILD_EXAMPLES=OFF ..
cmake --build . -j $(nproc)
- name: test
run: |
cd build
ctest --output-on-failure -j $(nproc)
+14
View File
@@ -84,6 +84,20 @@ jobs:
- name: test-noint8
run: cd build-noint8 && ctest --output-on-failure -j $(nproc)
asan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: build
run: |
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=relwithdebinfo -DNCNN_ASAN=ON -DNCNN_BUILD_TESTS=ON -DNCNN_SHARED_LIB=ON -DNCNN_BUILD_TOOLS=OFF -DNCNN_BUILD_EXAMPLES=OFF ..
cmake --build . -j $(nproc)
- name: test
run: |
cd build
ctest --output-on-failure -j $(nproc)
linux-gcc-cpp03-nostdio-nostring-simplestl:
runs-on: ubuntu-latest
steps: