[CI] Disable thread sanitizer in Github actions for now

* False positive race conditions are not suppressed yet
This commit is contained in:
Marko Viitanen 2022-04-29 19:00:46 +03:00
parent a5eb7d1496
commit 35ffc3924b
2 changed files with 30 additions and 30 deletions

View file

@ -63,24 +63,24 @@ jobs:
- name: Run tests - name: Run tests
run: export PATH="/home/docker/bin:${PATH}" && CTEST_PARALLEL_LEVEL=8 CTEST_OUTPUT_ON_FAILURE=1 make test run: export PATH="/home/docker/bin:${PATH}" && CTEST_PARALLEL_LEVEL=8 CTEST_OUTPUT_ON_FAILURE=1 make test
test-tsan: # test-tsan:
runs-on: self-hosted # runs-on: self-hosted
if: contains(github.event.pull_request.labels.*.name, 'safe to test') # if: contains(github.event.pull_request.labels.*.name, 'safe to test')
env: # env:
CC: gcc # CC: gcc
CFLAGS: -fsanitize=thread # CFLAGS: -fsanitize=thread
steps: # steps:
- uses: actions/checkout@v2 # - uses: actions/checkout@v2
with: # with:
ref: ${{github.event.pull_request.head.ref}} # ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}} # repository: ${{github.event.pull_request.head.repo.full_name}}
- name: cmake # - name: cmake
run: cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=./ . || (cat config.log && false) # run: cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=./ . || (cat config.log && false)
- name: make # - name: make
run: make install -j # run: make install -j
- name: Run tests # - name: Run tests
run: export PATH="/home/docker/bin:${PATH}" && CTEST_PARALLEL_LEVEL=8 CTEST_OUTPUT_ON_FAILURE=1 make test # run: export PATH="/home/docker/bin:${PATH}" && CTEST_PARALLEL_LEVEL=8 CTEST_OUTPUT_ON_FAILURE=1 make test
test-valgrind: test-valgrind:
runs-on: self-hosted runs-on: self-hosted

View file

@ -52,20 +52,20 @@ jobs:
- name: Run tests - name: Run tests
run: export PATH="/home/docker/bin:${PATH}" && CTEST_PARALLEL_LEVEL=8 CTEST_OUTPUT_ON_FAILURE=1 make test run: export PATH="/home/docker/bin:${PATH}" && CTEST_PARALLEL_LEVEL=8 CTEST_OUTPUT_ON_FAILURE=1 make test
test-tsan: # test-tsan:
runs-on: self-hosted # runs-on: self-hosted
env: # env:
CC: gcc # CC: gcc
CFLAGS: -fsanitize=thread # CFLAGS: -fsanitize=thread
steps: # steps:
- uses: actions/checkout@v2 # - uses: actions/checkout@v2
- name: cmake # - name: cmake
run: cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=./ . || (cat config.log && false) # run: cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=./ . || (cat config.log && false)
- name: make # - name: make
run: make install -j # run: make install -j
- name: Run tests # - name: Run tests
run: export PATH="/home/docker/bin:${PATH}" && CTEST_PARALLEL_LEVEL=8 CTEST_OUTPUT_ON_FAILURE=1 make test # run: export PATH="/home/docker/bin:${PATH}" && CTEST_PARALLEL_LEVEL=8 CTEST_OUTPUT_ON_FAILURE=1 make test
test-valgrind: test-valgrind:
runs-on: self-hosted runs-on: self-hosted