mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-06 21:21:24 -07:00
GHA CI: use built-in ninja
`choco install` is slow: A basically simple download and extract operation takes 20sec compared to ~3sec when done manually. So we add a conditional for it.
This commit is contained in:
parent
e99a012bb4
commit
b2c51a5b9e
1 changed files with 6 additions and 1 deletions
5
.github/workflows/ci_windows.yaml
vendored
5
.github/workflows/ci_windows.yaml
vendored
|
@ -32,7 +32,12 @@ jobs:
|
||||||
|
|
||||||
- name: Install build tools
|
- name: Install build tools
|
||||||
run: |
|
run: |
|
||||||
|
if ((Get-Command "ninja.exe" -ErrorAction SilentlyContinue) -eq $null)
|
||||||
|
{
|
||||||
choco install ninja
|
choco install ninja
|
||||||
|
}
|
||||||
|
where.exe ninja
|
||||||
|
ninja --version
|
||||||
|
|
||||||
# use the preinstalled vcpkg from image
|
# use the preinstalled vcpkg from image
|
||||||
# https://github.com/actions/virtual-environments/blob/main/images/win/Windows2019-Readme.md#package-management
|
# https://github.com/actions/virtual-environments/blob/main/images/win/Windows2019-Readme.md#package-management
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue