]> granicus.if.org Git - gc/commitdiff
Appveyor CI: Pass CMAKE_OPTIONS to cmake only when configuring
authorIvan Maidanski <ivmai@mail.ru>
Tue, 4 Jun 2019 08:02:18 +0000 (11:02 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 4 Jun 2019 08:15:36 +0000 (11:15 +0300)
appveyor.yml

index ef3ad25c48870328dc1b02354c62f8f73e980be3..67ecd7127342d2ef4499adb969291f53b7198bb7 100644 (file)
@@ -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%'" )