Fix tests #185
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: Sanitizer Clang 14 | |
on: | |
push: | |
branches: ["main"] | |
jobs: | |
sanitizer_ubuntu_clang14: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set SSH Key | |
uses: webfactory/ssh-agent@v0.7.0 | |
with: | |
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | |
- name: Install tools | |
run: sudo apt-get install llvm -y | |
- name: Generate Unix Makfiles | |
run: cmake --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/clang-14 -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/clang++-14 -Btarget -G "Unix Makefiles" -DSANITIZER:BOOL=ON | |
- name: Build | |
run: cmake --build target --config Debug | |
- name: Test | |
run: ctest --test-dir target -j10 -C Debug -T test --output-on-failure --verbose |