mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-11-04 17:36:57 +00:00
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 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
7ac8694aae
commit
716269d020
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user