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 ac5d6b4
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions qodana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,28 @@ profile:
name: qodana.recommended

bootstrap: |
sudo apt-get update
set -e
sudo apt-get update && sudo apt-get -y dist-upgrade
sudo apt-get purge -y 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
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
cat ./linux-debug/compile_commands.json
cat /data/project/logs/*
export CC=/usr/bin/cc
export CXX=/usr/bin/c++
cmake -DCMAKE_TOOLCHAIN_FILE=~/vcpkg/scripts/buildsystems/vcpkg.cmake .. --preset linux-debug || true
sudo apt-get install -y clang-16 clang-format-16 clang-tidy-16 clang-tools-16 libclang-common-16-dev libclang-cpp16 libclang-rt-16-dev libclang1-16 llvm-16-dev
# cat /home/qodana/vcpkg/buildtrees/abseil/install-x64-linux-dbg-out.log
# cat ./linux-debug/compile_commands.json


include:
Expand Down

0 comments on commit ac5d6b4

Please sign in to comment.