Guard Linux native build steps

So that non-zero exit codes fail the build, and the tests are run
verbosely.
This commit is contained in:
Andrew Schwartzmeyer
2016-07-13 15:46:25 -07:00
parent 2abe461992
commit 92495065e8
+3 -3
View File
@@ -201,9 +201,9 @@ function Start-PSBuild {
try {
Push-Location $Native
cmake -DCMAKE_BUILD_TYPE=Debug .
make -j
make test
Start-NativeExecution { cmake -DCMAKE_BUILD_TYPE=Debug . }
Start-NativeExecution { make -j }
Start-NativeExecution { ctest --verbose }
} finally {
Pop-Location
}