From 5a96161e8664339c11a904b6f851f44d9c5b49d3 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sun, 16 Jun 2019 02:33:47 +0200 Subject: [PATCH] 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 --- ci/build.ps1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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