mirror of
https://github.com/git-for-windows/git.git
synced 2026-03-18 07:33:26 -05:00
fixup! ci(vs-build) also build Windows/ARM64 artifacts
Let's use the pre-built vcpkg artifacts instead of building the packages ourselves in _every_ single CI run. This saves quite a bit of time: about 1 minute to download & unpack the artifacts vs about 17 minutes to build them (and forcing `vs-test` and `windows-test` to wait for it). Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@@ -189,7 +189,6 @@ jobs:
|
||||
unzip artifacts.zip
|
||||
rm artifacts.zip
|
||||
- name: download vcpkg artifacts
|
||||
if: matrix.arch == 'x64'
|
||||
shell: powershell
|
||||
run: |
|
||||
$urlbase = "https://dev.azure.com/git/git/_apis/build/builds"
|
||||
@@ -198,9 +197,6 @@ jobs:
|
||||
(New-Object Net.WebClient).DownloadFile($downloadUrl, "compat.zip")
|
||||
Expand-Archive compat.zip -DestinationPath . -Force
|
||||
Remove-Item compat.zip
|
||||
- name: install vcpkg deps for arm64
|
||||
if: matrix.arch == 'arm64'
|
||||
run: .\compat\vcbuild\vcpkg_install.bat arm64-windows
|
||||
- name: add msbuild to PATH
|
||||
uses: microsoft/setup-msbuild@v1
|
||||
- name: copy dlls to root
|
||||
|
||||
Reference in New Issue
Block a user