From a3e01aea471809ed2b096398a748dd116b14a842 Mon Sep 17 00:00:00 2001 From: Thomas Debesse Date: Wed, 17 Jul 2024 05:25:36 +0200 Subject: [PATCH] ci: minor changes in ways how things build or link - appveyor: do not build the shared library (it is unusable yet), - azure-pipelines: make all binaries use the same library, - codeql: use the shared library. --- .appveyor.yml | 2 +- .azure-pipelines.yml | 2 +- .github/workflows/codeql.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index c5904aee..d55826f4 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -52,7 +52,7 @@ build_script: set CXXFLAGS=/Wv:19.29.30037 cmake -Wdev -G"%generator%" -A"%platform%" -S. -Bbuild -DCMAKE_CONFIGURATION_TYPES=Release - -DBUILD_CRUNCH=ON -DBUILD_SHARED_LIBCRN=ON -DBUILD_EXAMPLES=ON + -DBUILD_CRUNCH=ON -DBUILD_EXAMPLES=ON -DUSE_FAST_MATH=OFF cmake --build build --config Release diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 17a23731..33314f9c 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -123,7 +123,7 @@ steps: cmake_args+=(-DCMAKE_CXX_FLAGS="${COMPILER_FLAGS}") fi if [ -z "${SOURCE_DIR:-}" ]; then - cmake_args+=(-DBUILD_CRUNCH=ON -DBUILD_SHARED_LIBCRN=ON -DBUILD_EXAMPLES=ON) + cmake_args+=(-DBUILD_CRUNCH=ON -DBUILD_EXAMPLES=ON -DBUILD_SHARED_LIBS=ON) fi cmake_args+=(-DUSE_FAST_MATH=OFF) cmake -S"${SOURCE_DIR:-.}" -Bbuild "${cmake_args[@]}" diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index a691f6ee..5c9e02e9 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -75,7 +75,7 @@ jobs: export CMAKE_BUILD_PARALLEL_LEVEL="$(nproc)" echo "${CMAKE_BUILD_PARALLEL_LEVEL}" cmake -Wdev -S. -Bbuild -GNinja -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_CRUNCH=ON -DBUILD_SHARED_LIBCRN=ON -DBUILD_EXAMPLES=OFF + -DBUILD_CRUNCH=ON -DBUILD_EXAMPLES=OFF -DBUILD_SHARED_LIBS=ON cmake --build build - name: Perform CodeQL Analysis