Upgrade python package infrastructure and build arm wheels #176
Workflow file for this run
This file contains hidden or 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: Sanitiser checks | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - '**' | |
| jobs: | |
| build-and-test: | |
| name: Sanitiser checks | |
| runs-on: ubuntu-24.04 | |
| env: | |
| CXX: clang++-18 | |
| steps: | |
| - name: checkout repo & submodules | |
| uses: actions/checkout@v5 | |
| with: | |
| submodules: true | |
| fetch-depth: 0 | |
| - name: install tools | |
| run: | | |
| sudo apt -y install libomp-dev | |
| - name: make build directory | |
| run: mkdir build_dir | |
| - name: address sanitiser | |
| run: | | |
| mv vcpkg_installed .. && rm -rf * && mv ../vcpkg_installed . | |
| cmake .. -DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_SANITISER_ADDRESS=ON | |
| cmake --build . --parallel 4 --target unit_tests | |
| ./test/unit_tests ~"Test prepare decoding" | |
| working-directory: build_dir | |
| - name: leak sanitiser | |
| run: | | |
| mv vcpkg_installed .. && rm -rf * && mv ../vcpkg_installed . | |
| cmake .. -DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_SANITISER_LEAK=ON | |
| cmake --build . --parallel 4 --target unit_tests | |
| ./test/unit_tests | |
| working-directory: build_dir | |
| - name: undefined behaviour sanitiser | |
| run: | | |
| mv vcpkg_installed .. && rm -rf * && mv ../vcpkg_installed . | |
| cmake .. -DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_SANITISER_UNDEFINED_BEHAVIOUR=ON | |
| cmake --build . --parallel 4 --target unit_tests | |
| ./test/unit_tests | |
| working-directory: build_dir | |
| - name: thread sanitiser | |
| run: | | |
| mv vcpkg_installed .. && rm -rf * && mv ../vcpkg_installed . | |
| cmake .. -DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_SANITISER_THREAD=ON | |
| cmake --build . --parallel 4 --target unit_tests | |
| ./test/unit_tests ~"Test prepare decoding" | |
| working-directory: build_dir |