From 35ffc3924b40c2e19a06b044a159945807156997 Mon Sep 17 00:00:00 2001 From: Marko Viitanen Date: Fri, 29 Apr 2022 19:00:46 +0300 Subject: [PATCH] [CI] Disable thread sanitizer in Github actions for now * False positive race conditions are not suppressed yet --- .github/workflows/pull_request.yml | 34 +++++++++++++++--------------- .github/workflows/uvg266.yml | 26 +++++++++++------------ 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index e63a014a..16537cb7 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -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 diff --git a/.github/workflows/uvg266.yml b/.github/workflows/uvg266.yml index 2a34d6ba..81f50c84 100644 --- a/.github/workflows/uvg266.yml +++ b/.github/workflows/uvg266.yml @@ -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