diff options
author | kylo252 <59826753+kylo252@users.noreply.github.com> | 2022-07-18 15:18:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-18 15:18:15 +0200 |
commit | d15a66d80336ff3f6c69a0eff4c17c83a84d44c9 (patch) | |
tree | e42b75719df5f86df7e96e992b2c10ca3b6bb65b /ci | |
parent | 1b462705d049fa0cf2bb99bae9112b84abea8d5a (diff) | |
download | rneovim-d15a66d80336ff3f6c69a0eff4c17c83a84d44c9.tar.gz rneovim-d15a66d80336ff3f6c69a0eff4c17c83a84d44c9.tar.bz2 rneovim-d15a66d80336ff3f6c69a0eff4c17c83a84d44c9.zip |
ci(windows): config and build before publish step (#19416)
Problem: Windows package step failed (silently).
Solution: Make sure to configure cmake before attempting to build the package target.
Diffstat (limited to 'ci')
-rw-r--r-- | ci/build.ps1 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ci/build.ps1 b/ci/build.ps1 index f5ebe10b87..6c042f9116 100644 --- a/ci/build.ps1 +++ b/ci/build.ps1 @@ -134,7 +134,8 @@ function TestOld { function Package {
- cmake --build $buildDir --target package
+ cmake -S $projectDir -B $buildDir $(convertToCmakeArgs($nvimCmakeVars)) -G Ninja; exitIfFailed
+ cmake --build $buildDir --target package; exitIfFailed
}
if ($PSCmdlet.ParameterSetName) {
|