mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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.
This commit is contained in:
parent
1b462705d0
commit
d15a66d803
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@ -127,7 +127,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
DEPS_BUILD_DIR: ${{ format('{0}/nvim-deps', github.workspace) }}
|
DEPS_BUILD_DIR: ${{ format('{0}/nvim-deps', github.workspace) }}
|
||||||
DEPS_PREFIX: ${{ format('{0}/nvim-deps/usr', github.workspace) }}
|
DEPS_PREFIX: ${{ format('{0}/nvim-deps/usr', github.workspace) }}
|
||||||
CONFIGURATION: ${{ matrix.config }}
|
CMAKE_BUILD_TYPE: "RelWithDebInfo"
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
@ -138,7 +138,10 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- run: powershell ci\build.ps1 -Package
|
- name: Build deps
|
||||||
|
run: .\ci\build.ps1 -BuildDeps
|
||||||
|
- name: build package
|
||||||
|
run: .\ci\build.ps1 -Package
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.archive }}
|
name: ${{ matrix.archive }}
|
||||||
|
@ -134,7 +134,8 @@ function TestOld {
|
|||||||
|
|
||||||
|
|
||||||
function Package {
|
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) {
|
if ($PSCmdlet.ParameterSetName) {
|
||||||
|
Loading…
Reference in New Issue
Block a user