From dcefa07624926da23a559eedc3f7361ac36e8312 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Mon, 19 Feb 2024 18:26:52 +0100 Subject: build: Fix build and tests on appveyor The configuration parameter was not correctly passed, which caused the build system to build with debug symbols (configuration does not match "Release" and not set CONFIG_OUROBOROS_DEBUG, causing the compiler to include the debugging code. Fixed appveyor command. The build will now fail on an unknown CMAKE_BUILD_TYPE. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'appveyor.yml') diff --git a/appveyor.yml b/appveyor.yml index 7fd11335..bf1d8076 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -25,10 +25,10 @@ install: before_build: - mkdir -p build - cd build - - cmake -DCMAKE_BUILD_TYPE=%CONFIGURATION% .. + - cmake -DCMAKE_BUILD_TYPE=$CONFIGURATION .. build_script: - make test_script: - - make check + - env CTEST_OUTPUT_ON_FAILURE=1 make check -- cgit v1.2.3