From 30fa31ac61ba2c806a2d6198a71e9e0a54592855 Mon Sep 17 00:00:00 2001 From: Renato Foot Date: Tue, 13 Aug 2024 01:02:34 +0000 Subject: [PATCH] imp: use qodana GHA --- qodana.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/qodana.yml b/qodana.yml index 3b05b951540..b2d16c31f81 100644 --- a/qodana.yml +++ b/qodana.yml @@ -5,19 +5,24 @@ profile: bootstrap: | sudo apt-get update - sudo apt-get install -y cmake git unzip build-essential ca-certificates curl zip unzip tar pkg-config ninja-build autoconf automake libtool python3 + sudo apt-get purge -y clang* llvm* libclang* + sudo apt-get install -y cmake git unzip build-essential ca-certificates curl zip unzip tar pkg-config ninja-build autoconf automake libtool python3 clang-format-16* clang-tidy-16* clang-tools-16* + sudo apt list --installed cd ~ git clone https://github.com/Microsoft/vcpkg.git cd vcpkg + git checkout 095ee06e7f60dceef7d713e3f8b1c2eb10d650d7 ./bootstrap-vcpkg.sh cd /data/project rm -rf build mkdir -p build cd build - CMAKE_CC_COMPILER=cc export CMAKE_CXX_COMPILER=c++ cmake -DCMAKE_TOOLCHAIN_FILE=~/vcpkg/scripts/buildsystems/vcpkg.cmake .. --preset linux-debug || true - ls ./linux-debug/compile_commands.json + export CC=/usr/bin/cc + export CXX=/usr/bin/c++ + cmake -DCMAKE_TOOLCHAIN_FILE=~/vcpkg/scripts/buildsystems/vcpkg.cmake .. --preset linux-debug || true + cat /home/qodana/vcpkg/buildtrees/abseil/install-x64-linux-dbg-out.log cat ./linux-debug/compile_commands.json - cat /data/project/logs/* + cat /data/project/resultslogs/* include: