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 Dec 20, 2023
1 parent 1ae1930 commit 0af28e0
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 @@ -550,6 +550,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 0af28e0

Please sign in to comment.