aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-03-30 21:54:39 +0200
committerGitHub <noreply@github.com>2018-03-30 21:54:39 +0200
commitc8fd7ce08ba8a5b67e6196f84233f1d0e5bef3ab (patch)
treecdb43d6d688e0398d506c9eb2cfc832d98dd845e
parent30f6ff7021470c1da733dfdf719ff15b09939381 (diff)
downloadrneovim-c8fd7ce08ba8a5b67e6196f84233f1d0e5bef3ab.tar.gz
rneovim-c8fd7ce08ba8a5b67e6196f84233f1d0e5bef3ab.tar.bz2
rneovim-c8fd7ce08ba8a5b67e6196f84233f1d0e5bef3ab.zip
ci/AppVeyor: cover MinGW and MSVC in PRs (#8206)
-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'
}