Skip to content

Commit b72a7e7

Browse files
committed
github/workflow: use clang version 12
Clang's ThreadSanitizer in version 10 and 11 emits a false positive when using condition variables ("WARNING: ThreadSanitizer: double lock of a mutex"). This was fixed in version 12 (google/sanitizers#1259).
1 parent 9143edb commit b72a7e7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build-and-test.yml

+6
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ jobs:
1111
env:
1212
CXX: ${{ matrix.compiler }}
1313
steps:
14+
- name: Install clang++-12
15+
if: ${{ matrix.compiler == 'clang++' }}
16+
uses: KyleMayes/[email protected]
17+
with:
18+
version: "12.0.0"
19+
directory: ${{ runner.temp }}/llvm
1420
- name: Info
1521
run: cmake --version && $CXX --version && uname -a
1622
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)