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:
dundargoc
2022-10-30 10:06:13 +01:00
committed by GitHub
parent 75ec1b7208
commit cf0f53037c
2 changed files with 8 additions and 59 deletions

View File

@@ -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()"