From: Ivan Maidanski Date: Tue, 4 Jun 2019 08:02:18 +0000 (+0300) Subject: Appveyor CI: Pass CMAKE_OPTIONS to cmake only when configuring X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9062802346373c2fe4fc536be38e4935563d4796;p=gc Appveyor CI: Pass CMAKE_OPTIONS to cmake only when configuring --- 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%'" )