From 9062802346373c2fe4fc536be38e4935563d4796 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Tue, 4 Jun 2019 11:02:18 +0300 Subject: [PATCH] Appveyor CI: Pass CMAKE_OPTIONS to cmake only when configuring --- appveyor.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index ef3ad25c..67ecd712 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -36,8 +36,7 @@ install: build_script: - cmd: if [%TARGET%]==[cmake] ( - cmake %CMAKE_OPTIONS% . && - cmake --build . --config %CMAKE_CONFIG% ) + cmake %CMAKE_OPTIONS% . && cmake --build . ) - cmd: if [%TARGET%]==[cygwin] ( C:\cygwin\bin\bash -e -l -c "cd /cygdrive/c/projects/bdwgc && ./autogen.sh && ./configure %CONF_OPTIONS% --enable-werror && cat include/config.h && make -j CFLAGS_EXTRA='%CFLAGS_EXTRA%'" ) @@ -55,7 +54,7 @@ build_script: "cd /c/projects/bdwgc && make -j -f Makefile.direct CC=gcc CFLAGS_EXTRA='%CFLAGS_EXTRA%'" ) test_script: -- cmd: if [%TARGET%]==[cmake] ( ctest --build-config %CMAKE_CONFIG% -V ) +- cmd: if [%TARGET%]==[cmake] ( ctest -V ) - cmd: if [%TARGET%]==[cygwin] ( C:\cygwin\bin\bash -e -l -c "cd /cygdrive/c/projects/bdwgc && make -j check-without-test-driver CFLAGS_EXTRA='%CFLAGS_EXTRA%'" ) -- 2.40.0