Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
ci: support static build (#230)
Browse files Browse the repository at this point in the history
Signed-off-by: Loong <[email protected]>
  • Loading branch information
daixiang0 authored and gyohuangxin committed Feb 24, 2024
1 parent 966fa1d commit ed5c19c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ci/do_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,12 @@ case $CI_TARGET in
"${TEST_TARGETS[@]}"
;;

# build totally static binary
dev.contrib.static)
setup_clang_toolchain
bazel build --linkopt=-static --copt=-static //contrib/exe:envoy-static
;;

distribution)
echo "Building distro packages..."
setup_clang_toolchain
Expand Down

0 comments on commit ed5c19c

Please sign in to comment.