Disable TSAN in CI for now

See issues encountered in #9586 due to TSAN not recognizing valid/safe rust
patterns.
This commit is contained in:
Mahmoud Al-Qudsi 2023-02-18 12:43:56 -06:00
parent 8deaede6c7
commit 4f6fe0999e

View File

@ -108,35 +108,39 @@ jobs:
run: | run: |
make test make test
ubuntu-threadsan: # Our clang++ tsan builds are not recognizing safe rust patterns (such as the fact that Drop
# cannot be called while a thread is using the object in question). Rust has its own way of
# running TSAN, but for the duration of the port from C++ to Rust, we'll keep this disabled.
runs-on: ubuntu-latest # ubuntu-threadsan:
#
steps: # runs-on: ubuntu-latest
- uses: actions/checkout@v3 #
- name: SetupRust # steps:
uses: ATiltedTree/setup-rust@v1 # - uses: actions/checkout@v3
with: # - name: SetupRust
rust-version: beta # uses: ATiltedTree/setup-rust@v1
- name: Install deps # with:
run: | # rust-version: beta
sudo apt install gettext libncurses5-dev libpcre2-dev python3-pip tmux # - name: Install deps
sudo pip3 install pexpect # run: |
- name: cmake # sudo apt install gettext libncurses5-dev libpcre2-dev python3-pip tmux
env: # sudo pip3 install pexpect
FISH_CI_SAN: 1 # - name: cmake
CC: clang # env:
CXX: clang++ # FISH_CI_SAN: 1
CXXFLAGS: "-fsanitize=thread" # CC: clang
run: | # CXX: clang++
mkdir build && cd build # CXXFLAGS: "-fsanitize=thread"
cmake .. # run: |
- name: make # mkdir build && cd build
run: | # cmake ..
make # - name: make
- name: make test # run: |
run: | # make
make test # - name: make test
# run: |
# make test
macos: macos: