ci: bump clang version to 13 in asan and tsan

This commit is contained in:
zeertzjq 2022-01-01 06:24:48 +08:00
parent 991e872d80
commit 6a932f68e6
2 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@ jobs:
matrix:
include:
- flavor: asan
cc: clang-12
cc: clang-13
runner: ubuntu-20.04
os: linux
- flavor: lint
@ -31,7 +31,7 @@ jobs:
runner: ubuntu-20.04
os: linux
- flavor: tsan
cc: clang-12
cc: clang-13
runner: ubuntu-20.04
os: linux
- cc: clang
@ -63,7 +63,7 @@ jobs:
run: |
wget https://apt.llvm.org/llvm.sh
chmod a+x llvm.sh
sudo ./llvm.sh 12
sudo ./llvm.sh 13
rm llvm.sh
- name: Install brew packages

View File

@ -34,7 +34,7 @@ case "$FLAVOR" in
BUILD_FLAGS="$BUILD_FLAGS -DPREFER_LUA=ON"
cat <<EOF >> "$GITHUB_ENV"
CLANG_SANITIZER=ASAN_UBSAN
SYMBOLIZER=asan_symbolize-12
SYMBOLIZER=asan_symbolize-13
ASAN_OPTIONS=detect_leaks=1:check_initialization_order=1:log_path=$GITHUB_WORKSPACE/build/log/asan
UBSAN_OPTIONS=print_stacktrace=1 log_path=$GITHUB_WORKSPACE/build/log/ubsan
EOF