mirror of
https://github.com/neovim/neovim.git
synced 2026-07-19 23:51:38 +00:00
ci(windows): build dependencies with Ninja (#20800)
This will save around a minute of CI time for each run. Also clean up build.ps1 by removing unnecessary code.
This commit is contained in:
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@@ -314,9 +314,8 @@ jobs:
|
||||
runs-on: windows-2019
|
||||
timeout-minutes: 45
|
||||
env:
|
||||
DEPS_BUILD_DIR: ${{ format('{0}/nvim-deps', github.workspace) }}
|
||||
DEPS_PREFIX: ${{ format('{0}/nvim-deps/usr', github.workspace) }}
|
||||
CMAKE_BUILD_TYPE: "RelWithDebInfo"
|
||||
DEPS_BUILD_DIR: ${{ github.workspace }}/nvim-deps
|
||||
DEPS_PREFIX: ${{ github.workspace }}/nvim-deps/usr
|
||||
name: windows (MSVC_64)
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@@ -324,7 +323,7 @@ jobs:
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: ${{ env.DEPS_BUILD_DIR }}
|
||||
key: ${{ hashFiles('cmake.deps\**') }}
|
||||
key: windows-${{ hashFiles('cmake.deps/**', 'ci/build.ps1') }}
|
||||
|
||||
- name: Build deps
|
||||
run: .\ci\build.ps1 -BuildDeps
|
||||
@@ -333,7 +332,6 @@ jobs:
|
||||
run: .\ci\build.ps1 -Build
|
||||
|
||||
- name: Install test deps
|
||||
continue-on-error: false
|
||||
run: .\ci\build.ps1 -EnsureTestDeps
|
||||
|
||||
- if: "!cancelled()"
|
||||
|
||||
Reference in New Issue
Block a user