mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-11-05 22:24:35 +00:00
Fix Docker build: disable tests and remove git dep
The tests/ directory is excluded by .dockerignore, so pass -DBUILD_TESTING=OFF to cmake. Submodules are already checked out by actions/checkout, no need for git inside the container. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
0cd823094b
commit
cf0c053839
@@ -25,9 +25,8 @@ RUN set -x \
|
||||
pcre2-dev \
|
||||
# Build & install
|
||||
&& cd /tmp/repo \
|
||||
&& git submodule update --init --recursive || true \
|
||||
&& mkdir -p build && cd build \
|
||||
&& cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local -DWITH_DOC=OFF -DCMAKE_BUILD_TYPE=Release \
|
||||
&& cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local -DBUILD_TESTING=OFF -DCMAKE_BUILD_TYPE=Release \
|
||||
&& make -j$(getconf _NPROCESSORS_ONLN) \
|
||||
&& make install \
|
||||
&& cd /usr/local/bin \
|
||||
|
||||
Reference in New Issue
Block a user