added calculations #253
Workflow file for this run
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: LLVM asan | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
build-and-test: | |
name: Unit tests with LLVM address sanitizer on Ubuntu 20.04 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: make build directory | |
run: mkdir build_dir | |
- name: cmake configure | |
run: cmake .. -DTESTING:BOOL=ON -DPRECISION:STRING=2 -DQUEST_MEMCHECK:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Debug | |
working-directory: build_dir | |
env: | |
CC: clang | |
CXX: clang++ | |
- name: cmake build | |
run: cmake --build . --parallel 2 --target tests | |
working-directory: build_dir | |
- name: cmake test | |
run: ctest -j2 --output-on-failure --timeout 5000 | |
working-directory: build_dir |