aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-06-16 02:33:47 +0200
committerGitHub <noreply@github.com>2019-06-16 02:33:47 +0200
commit5a96161e8664339c11a904b6f851f44d9c5b49d3 (patch)
tree864d73ab0a383ad91296410ebd2cdf6b61b212da
parentb60c986a49ed54042a5bf6dfba3ce26ae084aa47 (diff)
downloadrneovim-5a96161e8664339c11a904b6f851f44d9c5b49d3.tar.gz
rneovim-5a96161e8664339c11a904b6f851f44d9c5b49d3.tar.bz2
rneovim-5a96161e8664339c11a904b6f851f44d9c5b49d3.zip
ci: AppVeyor: ensure that win32 feature is set (#10216)
[skip travis] Closes https://github.com/neovim/neovim/pull/10232. Co-authored-by: Jan Edmund Lazo <jan.lazo@mail.utoronto.ca>
-rw-r--r--ci/build.ps15
1 files changed, 4 insertions, 1 deletions
diff --git a/ci/build.ps1 b/ci/build.ps1
index f12e31b8bb..151563709c 100644
--- a/ci/build.ps1
+++ b/ci/build.ps1
@@ -105,7 +105,10 @@ mkdir build
cd build
cmake -G $cmakeGenerator $(convertToCmakeArgs($nvimCmakeVars)) .. ; exitIfFailed
cmake --build . --config $cmakeBuildType -- $cmakeGeneratorArgs ; exitIfFailed
-bin\nvim --version ; exitIfFailed
+.\bin\nvim --version ; exitIfFailed
+
+# Ensure that the "win32" feature is set.
+.\bin\nvim -u NONE --headless -c 'exe !has(\"win32\").\"cq\"' ; exitIfFailed
# Functional tests
# The $LastExitCode from MSBuild can't be trusted