Skip to content

Commit

Permalink
ci: update Qodana configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
dr8co committed May 20, 2024
1 parent e88905b commit f29e1b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prepare-qodana.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
cd "$(dirname "$0")" || (echo "Running from $(pwd)" && exit 1)

# Install dependencies
sudo apt update && sudo apt install -y ninja-build clang build-essential
sudo apt update && sudo apt install -y ninja-build clang wget tar build-essential

# Download and install CMake
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

# Configure CMake
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=gcc -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -G Ninja
/usr/local/bin/cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=gcc -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -G Ninja

0 comments on commit f29e1b7

Please sign in to comment.