Files
shadowsocks-libev/docker/build/dockerbuild.sh
Max Lv 62cbdb6619 Fix the fully static image and the build image for the C++ sources
docker/static: the C++ unit tests link the static libstdc++, whose error
paths need an unwinder that --rtlib=compiler-rt does not provide; link
llvm-libunwind. The programs themselves still need no C++ runtime.

docker/build: build in the default bundled mode with CMake instead of
against libev/udns (Alpine's Mbed TLS 4 is not supported by system
mode).
2026-10-15 00:34:32 +08:00

9 lines
163 B
Bash
Executable File

#!/bin/sh
set -e
set -o xtrace
cmake -S . -B build -G Ninja
cmake --build build
ctest --test-dir build -L 'unit|vendor' --output-on-failure
cmake --install build