Update .gitlab/Windows-CI.yml

This commit is contained in:
Mark Roszko 2022-10-29 17:05:41 +00:00
parent a1db97c474
commit 132ce2f577
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,6 @@ win64_build:
image: registry.gitlab.com/kicad/kicad-ci/windows-build-image/win1809-msvc:latest image: registry.gitlab.com/kicad/kicad-ci/windows-build-image/win1809-msvc:latest
variables: variables:
VCPKG_BINARY_SOURCES: 'nuget,kicad,readwrite' VCPKG_BINARY_SOURCES: 'nuget,kicad,readwrite'
GIT_FETCH_EXTRA_FLAGS: --tags
cache: cache:
key: win64-vcpkg-"$CI_COMMIT_REF_SLUG" key: win64-vcpkg-"$CI_COMMIT_REF_SLUG"
paths: paths:
@ -21,6 +20,7 @@ win64_build:
- tags@kicad/code/kicad - tags@kicad/code/kicad
script: script:
- C:\builder\build.ps1 -Env -Arch x64 - C:\builder\build.ps1 -Env -Arch x64
- git fetch --tags
- $vcpkgCache=Join-Path -Path (Get-Location) -ChildPath ".vcpkgCache";$env:VCPKG_DEFAULT_BINARY_CACHE=$vcpkgCache;New-Item -ItemType Directory -Force -Path $vcpkgCache - $vcpkgCache=Join-Path -Path (Get-Location) -ChildPath ".vcpkgCache";$env:VCPKG_DEFAULT_BINARY_CACHE=$vcpkgCache;New-Item -ItemType Directory -Force -Path $vcpkgCache
- nuget.exe sources add -Name kicad -Source "https://nuget.kicad.org:443/v3/index.json" - nuget.exe sources add -Name kicad -Source "https://nuget.kicad.org:443/v3/index.json"
- nuget.exe setapikey $env:KICAD_NUGET_KEY -Source "https://nuget.kicad.org:443/v3/index.json" - nuget.exe setapikey $env:KICAD_NUGET_KEY -Source "https://nuget.kicad.org:443/v3/index.json"