pnnx2ncnn convert torch.roll with one or two shifts (#5623) #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: build | |
run: | | |
mkdir build && cd build | |
cmake -DCMAKE_BUILD_TYPE=debug -DNCNN_ASAN=ON -DNCNN_BUILD_TESTS=ON -DNCNN_BUILD_TOOLS=OFF -DNCNN_BUILD_EXAMPLES=OFF .. | |
cmake --build . -j $(nproc) | |
- name: test | |
run: | | |
cd build | |
ctest --output-on-failure -j $(nproc) |