From 7681d4e87c9b936e088ce6005f35e2862e010300 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Cser=C3=A9p?= Date: Mon, 29 Apr 2024 13:26:35 +0200 Subject: [PATCH] Build CodeCompass in Release mode in CI --- .github/workflows/ci.yml | 2 +- .github/workflows/codeql.yml | 2 +- .gitlab/build-codecompass.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7989a3090..346b2d262 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,7 @@ name: Build project on: [push, pull_request, workflow_dispatch] env: - BUILD_TYPE: Debug + BUILD_TYPE: RelWithDebInfo ## For locally compiled dependencies INSTALL_PATH: ${{github.workspace}}/dependencies/install ## Temp directory for installers of the downloaded dependencies diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 85a08bc94..ece93bf67 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -41,7 +41,7 @@ jobs: analyze-cpp: name: Analyze C-C++ env: - BUILD_TYPE: Debug + BUILD_TYPE: RelWithDebInfo INSTALL_PATH: ${{github.workspace}}/dependencies/install DOWNLOAD_PATH: ${{github.workspace}}/dependencies/download runs-on: ubuntu-22.04 diff --git a/.gitlab/build-codecompass.sh b/.gitlab/build-codecompass.sh index 512b292a6..87ca961ad 100644 --- a/.gitlab/build-codecompass.sh +++ b/.gitlab/build-codecompass.sh @@ -63,7 +63,7 @@ cd $CC_BUILD_DIR cmake $CC_SRC_DIR \ -DCMAKE_INSTALL_PREFIX=$CC_INSTALL_DIR \ -DDATABASE=pgsql \ - -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_BUILD_TYPE=Release \ -DWITH_AUTH="plain;ldap" \ -DLLVM_DIR=$DEPS_INSTALL_RUNTIME_DIR/llvm/lib/cmake/llvm/ \ -DClang_DIR=$DEPS_INSTALL_RUNTIME_DIR/llvm/lib/cmake/clang/