[ci] Use mirror repository for liblzma (#6499)

Uses https://github.com/bminor/xz to work around suspended repository.

We will revert this once vcpkg updates to point to an accessible repo.
This commit is contained in:
Ryan Blue
2024-04-04 12:18:06 -04:00
committed by GitHub
parent 25ad6eafd5
commit c46847b32a
11 changed files with 261 additions and 0 deletions

View File

@@ -71,6 +71,10 @@ jobs:
name: "Build - Windows"
runs-on: windows-2022
steps:
- name: Check XZ-Utils Upstream
# If this fails, tukaani-project/xz is back online and the liblzma overlay patch should be removed.
run: Invoke-RestMethod -SkipHttpErrorCheck -StatusCodeVariable "sc" -Uri https://api.github.com/repos/tukaani-project/xz > $null; if($sc -eq 200) {$LastExitCode = 1; Write-Output "tuukani-project/xz is reachable. liblzma overlay patch should be removed."} else { $LastExitCode = 0}
- uses: ilammy/msvc-dev-cmd@v1
- name: Install CMake