]> git.ipfire.org Git - thirdparty/curl.git/commit
GHA/windows: always pass `-A <arch>` to cmake in vcpkg jobs
authorViktor Szakats <commit@vsz.me>
Thu, 6 Feb 2025 13:09:58 +0000 (14:09 +0100)
committerViktor Szakats <commit@vsz.me>
Thu, 6 Feb 2025 14:44:18 +0000 (15:44 +0100)
commit1fa3eb05b18c3201735fb34a47bfe269f23117f5
tree24bbad31da833069e85c9166195bd2aca8b36ef3
parent5f6f446136af756e03cfff47c6e1d5121304e3c3
GHA/windows: always pass `-A <arch>` to cmake in vcpkg jobs

Instead of relying on the default `-A x64` on `windows-latest` runners,
tell cmake the arch explicitly, to be in sync with `matrix.arch`. Also
add support for arm64 and x86.

`-DVCPKG_TARGET_TRIPLET=` isn't enough to select the platform, ref:
https://github.com/curl/curl/actions/runs/13179082565/job/36785363766?pr=16210

Closes #16210
.github/workflows/windows.yml