aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ci/build.ps19
1 files 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'
}