Skip to content

Commit

Permalink
imp: use qodana GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
Costallat committed Aug 13, 2024
1 parent 1b900da commit 30fa31a
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions qodana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 30fa31a

Please sign in to comment.