mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-23 18:14:06 +00:00
[CI] Disable thread sanitizer in Github actions for now
* False positive race conditions are not suppressed yet
This commit is contained in:
parent
a5eb7d1496
commit
35ffc3924b
34
.github/workflows/pull_request.yml
vendored
34
.github/workflows/pull_request.yml
vendored
|
@ -63,24 +63,24 @@ jobs:
|
|||
- name: Run tests
|
||||
run: export PATH="/home/docker/bin:${PATH}" && CTEST_PARALLEL_LEVEL=8 CTEST_OUTPUT_ON_FAILURE=1 make test
|
||||
|
||||
test-tsan:
|
||||
runs-on: self-hosted
|
||||
if: contains(github.event.pull_request.labels.*.name, 'safe to test')
|
||||
env:
|
||||
CC: gcc
|
||||
CFLAGS: -fsanitize=thread
|
||||
# test-tsan:
|
||||
# runs-on: self-hosted
|
||||
# if: contains(github.event.pull_request.labels.*.name, 'safe to test')
|
||||
# env:
|
||||
# CC: gcc
|
||||
# CFLAGS: -fsanitize=thread
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
ref: ${{github.event.pull_request.head.ref}}
|
||||
repository: ${{github.event.pull_request.head.repo.full_name}}
|
||||
- name: cmake
|
||||
run: cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=./ . || (cat config.log && false)
|
||||
- name: make
|
||||
run: make install -j
|
||||
- name: Run tests
|
||||
run: export PATH="/home/docker/bin:${PATH}" && CTEST_PARALLEL_LEVEL=8 CTEST_OUTPUT_ON_FAILURE=1 make test
|
||||
# steps:
|
||||
# - uses: actions/checkout@v2
|
||||
# with:
|
||||
# ref: ${{github.event.pull_request.head.ref}}
|
||||
# repository: ${{github.event.pull_request.head.repo.full_name}}
|
||||
# - name: cmake
|
||||
# run: cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=./ . || (cat config.log && false)
|
||||
# - name: make
|
||||
# run: make install -j
|
||||
# - name: Run tests
|
||||
# run: export PATH="/home/docker/bin:${PATH}" && CTEST_PARALLEL_LEVEL=8 CTEST_OUTPUT_ON_FAILURE=1 make test
|
||||
|
||||
test-valgrind:
|
||||
runs-on: self-hosted
|
||||
|
|
26
.github/workflows/uvg266.yml
vendored
26
.github/workflows/uvg266.yml
vendored
|
@ -52,20 +52,20 @@ jobs:
|
|||
- name: Run tests
|
||||
run: export PATH="/home/docker/bin:${PATH}" && CTEST_PARALLEL_LEVEL=8 CTEST_OUTPUT_ON_FAILURE=1 make test
|
||||
|
||||
test-tsan:
|
||||
runs-on: self-hosted
|
||||
env:
|
||||
CC: gcc
|
||||
CFLAGS: -fsanitize=thread
|
||||
# test-tsan:
|
||||
# runs-on: self-hosted
|
||||
# env:
|
||||
# CC: gcc
|
||||
# CFLAGS: -fsanitize=thread
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: cmake
|
||||
run: cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=./ . || (cat config.log && false)
|
||||
- name: make
|
||||
run: make install -j
|
||||
- name: Run tests
|
||||
run: export PATH="/home/docker/bin:${PATH}" && CTEST_PARALLEL_LEVEL=8 CTEST_OUTPUT_ON_FAILURE=1 make test
|
||||
# steps:
|
||||
# - uses: actions/checkout@v2
|
||||
# - name: cmake
|
||||
# run: cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=./ . || (cat config.log && false)
|
||||
# - name: make
|
||||
# run: make install -j
|
||||
# - name: Run tests
|
||||
# run: export PATH="/home/docker/bin:${PATH}" && CTEST_PARALLEL_LEVEL=8 CTEST_OUTPUT_ON_FAILURE=1 make test
|
||||
|
||||
test-valgrind:
|
||||
runs-on: self-hosted
|
||||
|
|
Loading…
Reference in a new issue