From e4a32b903e014733407792f95dd42996e9525d2d Mon Sep 17 00:00:00 2001 From: Ian Duncan <76043277+dr8co@users.noreply.github.com> Date: Mon, 20 May 2024 03:22:47 +0300 Subject: [PATCH] ci: update Qodana configuration --- prepare-qodana.sh | 5 ++++- qodana.yaml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/prepare-qodana.sh b/prepare-qodana.sh index 81c4bbd..9f1b81b 100755 --- a/prepare-qodana.sh +++ b/prepare-qodana.sh @@ -4,7 +4,10 @@ cd "$(dirname "$0")" || (echo "Running from $(pwd)" && exit 1) # Install dependencies -sudo apt update && sudo apt install -y ninja-build clang wget tar build-essential +apt update && apt install -y ninja-build clang wget tar build-essential + +# Create build directory +mkdir -p "build" # 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 diff --git a/qodana.yaml b/qodana.yaml index 68bfb4e..441eacd 100644 --- a/qodana.yaml +++ b/qodana.yaml @@ -19,7 +19,7 @@ profile: # - #Execute shell command before Qodana execution (Applied in CI/CD pipeline) -bootstrap: sh ./prepare-qodana.sh +bootstrap: sudo ./prepare-qodana.sh #Install IDE plugins before Qodana execution (Applied in CI/CD pipeline) #plugins: