From c8fd7ce08ba8a5b67e6196f84233f1d0e5bef3ab Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Fri, 30 Mar 2018 21:54:39 +0200 Subject: ci/AppVeyor: cover MinGW and MSVC in PRs (#8206) --- ci/build.ps1 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ci/build.ps1 b/ci/build.ps1 index a04ef56f81..71cc7c5b50 100644 --- a/ci/build.ps1 +++ b/ci/build.ps1 @@ -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' } -- cgit