Added tsan to ci
This commit is contained in:
parent
7c3e578a5c
commit
4db50516c3
9
.github/workflows/linux.yml
vendored
9
.github/workflows/linux.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
|||||||
- { compiler: gcc, version: 11, build_type: Debug, cppstd: 20 }
|
- { compiler: gcc, version: 11, build_type: Debug, cppstd: 20 }
|
||||||
- { compiler: gcc, version: 12, build_type: Release, cppstd: 20 }
|
- { compiler: gcc, version: 12, build_type: Release, cppstd: 20 }
|
||||||
- { compiler: gcc, version: 12, build_type: Debug, cppstd: 20, asan: ON }
|
- { compiler: gcc, version: 12, build_type: Debug, cppstd: 20, asan: ON }
|
||||||
- { compiler: clang, version: 18, build_type: Debug, cppstd: 17, asan: ON }
|
- { compiler: clang, version: 12, build_type: Debug, cppstd: 17 }
|
||||||
- { compiler: clang, version: 15, build_type: Release, cppstd: 20, tsan: ON }
|
- { compiler: clang, version: 15, build_type: Release, cppstd: 20, tsan: ON }
|
||||||
container:
|
container:
|
||||||
image: ${{ matrix.config.compiler == 'clang' && 'teeks99/clang-ubuntu' || matrix.config.compiler }}:${{ matrix.config.version }}
|
image: ${{ matrix.config.compiler == 'clang' && 'teeks99/clang-ubuntu' || matrix.config.compiler }}:${{ matrix.config.version }}
|
||||||
@ -41,10 +41,8 @@ jobs:
|
|||||||
- name: Setup Compiler
|
- name: Setup Compiler
|
||||||
if: matrix.config.compiler == 'clang'
|
if: matrix.config.compiler == 'clang'
|
||||||
run: |
|
run: |
|
||||||
if [[ "${{ matrix.config.version }}" -ge 4 ]]; then
|
scripts/ci_setup_clang.sh "${{ matrix.config.version }}"
|
||||||
scripts/ci_setup_clang.sh "${{ matrix.config.version }}"
|
echo "CXXFLAGS=-stdlib=libc++" >> $GITHUB_ENV
|
||||||
echo "CXXFLAGS=-stdlib=libc++" >> $GITHUB_ENV
|
|
||||||
fi
|
|
||||||
echo "CC=clang-${{ matrix.config.version }}" >> $GITHUB_ENV
|
echo "CC=clang-${{ matrix.config.version }}" >> $GITHUB_ENV
|
||||||
echo "CXX=clang++-${{ matrix.config.version }}" >> $GITHUB_ENV
|
echo "CXX=clang++-${{ matrix.config.version }}" >> $GITHUB_ENV
|
||||||
- name: Build
|
- name: Build
|
||||||
@ -87,4 +85,3 @@ jobs:
|
|||||||
-DSPDLOG_SANITIZE_ADDRESS=OFF
|
-DSPDLOG_SANITIZE_ADDRESS=OFF
|
||||||
make -j 4
|
make -j 4
|
||||||
ctest -j 4 --output-on-failure
|
ctest -j 4 --output-on-failure
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user