Skip to content

Commit e88905b

Browse files
committed
ci: update Qodana configuration
1 parent 535380f commit e88905b

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

prepare-qodana.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/usr/bin/env sh
2+
3+
# Run from this directory
4+
cd "$(dirname "$0")" || (echo "Running from $(pwd)" && exit 1)
5+
6+
# Install dependencies
7+
sudo apt update && sudo apt install -y ninja-build clang build-essential
8+
9+
# Download and install CMake
10+
wget -qO- "https://github.com/Kitware/CMake/releases/download/v3.29.3/cmake-3.29.3-linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C /usr/local
11+
12+
# Configure CMake
13+
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=gcc -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -G Ninja

qodana.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ profile:
1919
# - <path/where/not/run/inspection>
2020

2121
#Execute shell command before Qodana execution (Applied in CI/CD pipeline)
22-
#bootstrap: sh ./prepare-qodana.sh
22+
bootstrap: sh ./prepare-qodana.sh
2323

2424
#Install IDE plugins before Qodana execution (Applied in CI/CD pipeline)
2525
#plugins:

0 commit comments

Comments
 (0)