From 716269d020e9c2b398c24234ee31cf61d1b65372 Mon Sep 17 00:00:00 2001 From: Max Lv Date: Tue, 10 Feb 2026 16:13:44 +0800 Subject: [PATCH] CI: enable static build to catch static-linking issues WITH_STATIC defaults to ON in CMakeLists.txt but CI was explicitly disabling it. Remove -DWITH_STATIC=OFF so the static targets are also built and linked, catching issues like the c-ares static library rename (#3024). Co-Authored-By: Claude Opus 4.6 --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9c905a6b..2b13d7f9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,7 +31,7 @@ jobs: - name: Build run: | mkdir -p build && cd build - cmake .. -DCMAKE_BUILD_TYPE=Release -DWITH_STATIC=OFF + cmake .. -DCMAKE_BUILD_TYPE=Release make -j$(nproc 2>/dev/null || sysctl -n hw.ncpu) - name: Unit tests