ci/AppVeyor: cover MinGW and MSVC in PRs (#8206)

This commit is contained in:
Justin M. Keyes 2018-03-30 21:54:39 +02:00 committed by GitHub
parent 30f6ff7021
commit c8fd7ce08b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,11 @@ $nvimCmakeVars = @{
BUSTED_OUTPUT_TYPE = 'nvim';
}
# For pull requests, skip some build configurations to save time.
if ($env:APPVEYOR_PULL_REQUEST_HEAD_COMMIT -and $env:CONFIGURATION -match '^(MSVC_64|MINGW_32)$') {
exit 0
}
function exitIfFailed() {
if ($LastExitCode -ne 0) {
exit $LastExitCode
@ -20,10 +25,6 @@ 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'
}