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" }