ci/AppVeyor: build MinGW only on master branch (#8193)

Else the build takes too long.
This commit is contained in:
Justin M. Keyes 2018-03-29 09:17:44 +02:00 committed by GitHub
parent 3f3de9b1a9
commit bbca3142e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,10 @@ function exitIfFailed() {
}
if ($compiler -eq 'MINGW') {
if ($env:APPVEYOR_PULL_REQUEST_HEAD_COMMIT -and $compileOption -ne 'gcov') {
exit 0
}
if ($bits -eq 32) {
$arch = 'i686'
}