Skip to content

Commit

Permalink
ci/azure-pipeline: enable building of examples everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
illwieckz committed Jul 5, 2024
1 parent 3adfdcc commit 305d3f1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,12 @@ strategy:
APT_PACKAGES: ninja-build g++-mingw-w64-x86-64 mingw-w64-x86-64-dev
SETUP_COMMANDS: sudo update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix
TOOLCHAIN_FILE: cmake/cross-toolchain-mingw64.cmake
BUILD_EXAMPLES: ON
EXE_EXTENSIONS: .exe
Windows i686 MinGW:
VM_IMAGE: 'ubuntu-20.04'
APT_PACKAGES: ninja-build g++-mingw-w64-i686 mingw-w64-i686-dev
SETUP_COMMANDS: sudo update-alternatives --set i686-w64-mingw32-g++ /usr/bin/i686-w64-mingw32-g++-posix
TOOLCHAIN_FILE: cmake/cross-toolchain-mingw32.cmake
BUILD_EXAMPLES: ON
EXE_EXTENSIONS: .exe
macOS amd64 AppleClang:
VM_IMAGE: 'macOS-12'
Expand Down Expand Up @@ -107,7 +105,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="${BUILD_EXAMPLES:-OFF}")
cmake_args+=(-DBUILD_CRUNCH=ON -DBUILD_SHARED_LIBCRN=ON -DBUILD_EXAMPLES=ON)
fi
cmake -S"${SOURCE_DIR:-.}" -Bbuild "${cmake_args[@]}"
cmake --build build --config Release
Expand Down

0 comments on commit 305d3f1

Please sign in to comment.