Skip to content

Commit

Permalink
ci: minor changes in ways how things build or link
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
illwieckz committed Jul 17, 2024
1 parent 9fc7aa8 commit a3e01ae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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[@]}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a3e01ae

Please sign in to comment.