Skip to content

Commit 15fb1dc

Browse files
committed
GHA: automatic vcpkg binary cache is broken, temporarily disable vcpkg jobs
In the last 1-2 days, curl's vcpkg binary cache entries stored by GHA apparently disappeared, and each vcpkg job is now rebuilding everything on every run. This takes up to 40 minutes per job. New cache entries fail on upload with messages like: ``` Completed submission of nghttp2:[email protected] to 0 binary cache(s) in 172 ms ``` (note the zero.) This coincided with my adding support for windows-11-arm and touching some jobs affected. Yet, unrelated. It also affects Android jobs. The root cause is a runner image update bumping the vcpkg tool. The latest vcpkg tool also has this issue. As a temporary workaround, stop using vcpkg in CI. Last good run: https://github.com/curl/curl/actions/runs/14473789417/job/40594304523 First bad run: https://github.com/curl/curl/actions/runs/14474616982/job/40597095025 Assisted-by: Tal Regev Ref: curl#17070 Closes curl#17069
1 parent a92ef2f commit 15fb1dc

File tree

2 files changed

+244
-250
lines changed

2 files changed

+244
-250
lines changed

.github/workflows/non-native.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -410,17 +410,11 @@ jobs:
410410
- { build: 'cmake' , platform: '21', name: "!ssl !zstd",
411411
options: '-DCURL_ENABLE_SSL=OFF -DCURL_USE_LIBPSL=OFF -DCURL_ZSTD=OFF' }
412412

413-
- { build: 'autotools', platform: '35', name: "openssl", install: 'brotli zstd libpsl nghttp2 openssl libssh2',
414-
options: '--with-openssl --with-brotli' }
415-
416-
- { build: 'cmake' , platform: '35', name: "openssl", install: 'brotli zstd libpsl nghttp2 openssl libssh2',
417-
options: '-DCURL_USE_OPENSSL=ON' }
413+
- { build: 'autotools', platform: '35', name: "!ssl !zstd",
414+
options: '--without-ssl --without-libpsl --without-zstd' }
418415

419-
# FIXME: Must disable zstd explicitly, otherwise cmake/pkg-config finds it in /usr/include
420-
# and the build fails. I had found no option to disable this behavior. Other default
421-
# dependencies not offered via vcpkg may also need this.
422-
- { build: 'cmake' , platform: '35', name: "boringssl !zstd", install: 'libpsl boringssl',
423-
options: '-DCURL_USE_OPENSSL=ON -DOPENSSL_USE_STATIC_LIBS=ON -DCURL_ZSTD=OFF' }
416+
- { build: 'cmake' , platform: '35', name: "!ssl !zstd",
417+
options: '-DCURL_ENABLE_SSL=OFF -DCURL_USE_LIBPSL=OFF -DCURL_ZSTD=OFF' }
424418

425419
fail-fast: false
426420
steps:

0 commit comments

Comments
 (0)