From 36498623ecc41eb1ed4c486ed700d7ab65c099f5 Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Sun, 7 Feb 2021 00:34:55 -0700 Subject: [PATCH] appveyor: tweak yml --- appveyor.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index aadb0cdc..3ce9c5d7 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -12,7 +12,7 @@ install: build_script: - ps: >- git submodule update --init --recursive - + $env:Path += ";C:\cygwin64\bin" mkdir cmakebuild @@ -24,16 +24,19 @@ build_script: $cmakePlatform = "x64" msbuild /target:testlight /p:Configuration=Release /p:Platform=$cmakePlatform /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" ericw-tools.sln + if ( $? -eq $false ) { throw "testlight failed to build" } msbuild /target:testqbsp /p:Configuration=Release /p:Platform=$cmakePlatform /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" ericw-tools.sln + if ( $? -eq $false ) { throw "testqbsp failed to build" } msbuild /p:Configuration=Release /p:Platform=$cmakePlatform /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" PACKAGE.vcxproj + if ( $? -eq $false ) { throw "package failed" }