updated CI to clang-15 (#4386)
This commit is contained in:
parent
514278e02b
commit
d12f4fdd6b
|
@ -29,14 +29,14 @@ jobs:
|
|||
run: |
|
||||
wget https://apt.llvm.org/llvm.sh
|
||||
chmod +x llvm.sh
|
||||
sudo ./llvm.sh 14
|
||||
sudo ./llvm.sh 15
|
||||
|
||||
- name: CMake
|
||||
run: |
|
||||
cmake -S . -B cmake.output -DCMAKE_BUILD_TYPE=RelWithDebInfo -DHAVE_RULES=On -DBUILD_TESTS=On -DUSE_MATCHCOMPILER=Verify -DANALYZE_ADDRESS=On -DENABLE_CHECK_INTERNAL=On -DCPPCHK_GLIBCXX_DEBUG=Off -DCMAKE_DISABLE_PRECOMPILE_HEADERS=On
|
||||
env:
|
||||
CC: clang-14
|
||||
CXX: clang++-14
|
||||
CC: clang-15
|
||||
CXX: clang++-15
|
||||
|
||||
- name: Build cppcheck
|
||||
run: |
|
||||
|
|
|
@ -26,7 +26,8 @@ jobs:
|
|||
run: |
|
||||
wget https://apt.llvm.org/llvm.sh
|
||||
chmod +x llvm.sh
|
||||
sudo ./llvm.sh 14
|
||||
sudo ./llvm.sh 15
|
||||
sudo apt-get install -y clang-tidy-15
|
||||
|
||||
- name: Cache Qt ${{ env.QT_VERSION }}
|
||||
id: cache-qt
|
||||
|
@ -46,8 +47,8 @@ jobs:
|
|||
run: |
|
||||
cmake -S . -B cmake.output -G "Unix Makefiles" -DHAVE_RULES=On -DBUILD_TESTS=On -DBUILD_GUI=On -DWITH_QCHART=On -DCMAKE_GLOBAL_AUTOGEN_TARGET=On -DCPPCHK_GLIBCXX_DEBUG=Off
|
||||
env:
|
||||
CC: clang-14
|
||||
CXX: clang++-14
|
||||
CC: clang-15
|
||||
CXX: clang++-15
|
||||
|
||||
- name: Prepare CMake dependencies
|
||||
run: |
|
||||
|
|
|
@ -29,14 +29,14 @@ jobs:
|
|||
run: |
|
||||
wget https://apt.llvm.org/llvm.sh
|
||||
chmod +x llvm.sh
|
||||
sudo ./llvm.sh 14
|
||||
sudo ./llvm.sh 15
|
||||
|
||||
- name: CMake
|
||||
run: |
|
||||
cmake -S . -B cmake.output -DCMAKE_BUILD_TYPE=RelWithDebInfo -DHAVE_RULES=On -DBUILD_TESTS=On -DUSE_MATCHCOMPILER=Verify -DANALYZE_THREAD=On -DUSE_THREADS=On -DENABLE_CHECK_INTERNAL=On -DCPPCHK_GLIBCXX_DEBUG=Off -DCMAKE_DISABLE_PRECOMPILE_HEADERS=On
|
||||
env:
|
||||
CC: clang-14
|
||||
CXX: clang++-14
|
||||
CC: clang-15
|
||||
CXX: clang++-15
|
||||
|
||||
- name: Build cppcheck
|
||||
run: |
|
||||
|
|
|
@ -29,14 +29,14 @@ jobs:
|
|||
run: |
|
||||
wget https://apt.llvm.org/llvm.sh
|
||||
chmod +x llvm.sh
|
||||
sudo ./llvm.sh 14
|
||||
sudo ./llvm.sh 15
|
||||
|
||||
- name: CMake
|
||||
run: |
|
||||
cmake -S . -B cmake.output -DCMAKE_BUILD_TYPE=RelWithDebInfo -DHAVE_RULES=On -DBUILD_TESTS=On -DUSE_MATCHCOMPILER=Verify -DANALYZE_UNDEFINED=On -DENABLE_CHECK_INTERNAL=On -DCPPCHK_GLIBCXX_DEBUG=Off -DCMAKE_DISABLE_PRECOMPILE_HEADERS=On
|
||||
env:
|
||||
CC: clang-14
|
||||
CXX: clang++-14
|
||||
CC: clang-15
|
||||
CXX: clang++-15
|
||||
|
||||
- name: Build cppcheck
|
||||
run: |
|
||||
|
|
Loading…
Reference in New Issue