Update to clang-tidy 11

This commit is contained in:
Sebastian Messmer 2021-04-19 15:39:32 -07:00
parent 5ad959ee36
commit f4945fcfbe
2 changed files with 6 additions and 7 deletions

View File

@ -186,13 +186,12 @@ jobs:
run_tests: true run_tests: true
gtest_args: "--gtest_filter=-LoggingTest.LoggingAlsoWorksAfterFork:AssertTest_*:BacktraceTest.*:SignalCatcherTest.*_thenDies:SignalHandlerTest.*_thenDies:SignalHandlerTest.givenMultipleSigIntHandlers_whenRaising_thenCatchesCorrectSignal:CliTest_Setup.*:CliTest_IntegrityCheck.*:*/CliTest_WrongEnvironment.*:CliTest_Unmount.*:CliTest.WorksWithCommasInBasedir" gtest_args: "--gtest_filter=-LoggingTest.LoggingAlsoWorksAfterFork:AssertTest_*:BacktraceTest.*:SignalCatcherTest.*_thenDies:SignalHandlerTest.*_thenDies:SignalHandlerTest.givenMultipleSigIntHandlers_whenRaising_thenCatchesCorrectSignal:CliTest_Setup.*:CliTest_IntegrityCheck.*:*/CliTest_WrongEnvironment.*:CliTest_Unmount.*:CliTest.WorksWithCommasInBasedir"
extra_env_vars_for_test: OMP_NUM_THREADS=1 extra_env_vars_for_test: OMP_NUM_THREADS=1
# TODO Update to clang-tidy-11
- name: clang-tidy - name: clang-tidy
os: ubuntu-20.04 os: ubuntu-20.04
compiler: compiler:
cxx: clang++-9 cxx: clang++-11
cc: clang-9 cc: clang-11
apt_package: clang++-9 clang-tidy-9 apt_package: clang++-11 clang-tidy-11
build_type: RelWithDebInfo build_type: RelWithDebInfo
extra_cmake_flags: "" extra_cmake_flags: ""
extra_cxxflags: "" extra_cxxflags: ""

View File

@ -8,9 +8,9 @@
set -e set -e
CXX=clang++-9 CXX=clang++-11
CC=clang-9 CC=clang-11
SCRIPT=run-clang-tidy-9.py SCRIPT=run-clang-tidy-11.py
export NUMCORES=`nproc` && if [ ! -n "$NUMCORES" ]; then export NUMCORES=`sysctl -n hw.ncpu`; fi export NUMCORES=`nproc` && if [ ! -n "$NUMCORES" ]; then export NUMCORES=`sysctl -n hw.ncpu`; fi
echo Using ${NUMCORES} cores echo Using ${NUMCORES} cores