ci: bump Windows image to windows-2019

The VS 2019 CMake generator no longer has different generator types for
different architectures.  Now, the architecture is specified via CMake's
`-A` switch.  However, this requires we also propagate
`${CMAKE_GENERATOR_PLATFORM}` to the bundled deps, so they build for the
same architecture as Nvim.
This commit is contained in:
James McCoy
2021-10-23 21:38:58 -04:00
committed by Dundar Göc
parent 8b3799e2c3
commit 921162a4b1
14 changed files with 33 additions and 11 deletions

View File

@@ -180,7 +180,7 @@ jobs:
run: ./ci/before_cache.sh
windows:
runs-on: windows-2016
runs-on: windows-2019
if: github.event.pull_request.draft == false
env:
DEPS_BUILD_DIR: ${{ format('{0}/nvim-deps', github.workspace) }}

View File

@@ -114,7 +114,7 @@ jobs:
retention-days: 1
windows:
runs-on: windows-2016
runs-on: windows-2019
env:
DEPS_BUILD_DIR: ${{ format('{0}/nvim-deps', github.workspace) }}
DEPS_PREFIX: ${{ format('{0}/nvim-deps/usr', github.workspace) }}