From cf0f53037cff8bc3d1c0d523b98582e6d47a50df Mon Sep 17 00:00:00 2001 From: dundargoc <33953936+dundargoc@users.noreply.github.com> Date: Sun, 30 Oct 2022 10:06:13 +0100 Subject: 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. --- .github/workflows/ci.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to '.github/workflows') 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()" -- cgit