aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-10-30 10:06:13 +0100
committerGitHub <noreply@github.com>2022-10-30 10:06:13 +0100
commitcf0f53037cff8bc3d1c0d523b98582e6d47a50df (patch)
treefe42f530eee4708a0718992e3aeebd6ee7c0ddd4 /.github/workflows
parent75ec1b7208d4d8f38dff2adf4006de7ea82118d7 (diff)
downloadrneovim-cf0f53037cff8bc3d1c0d523b98582e6d47a50df.tar.gz
rneovim-cf0f53037cff8bc3d1c0d523b98582e6d47a50df.tar.bz2
rneovim-cf0f53037cff8bc3d1c0d523b98582e6d47a50df.zip
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.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml8
1 files changed, 3 insertions, 5 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 47d6092b73..2d8c4046d8 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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()"