mirror of
https://github.com/alibaba/higress.git
synced 2026-06-06 03:07:28 +08:00
feat: init build-and-test workflows (#124)
Signed-off-by: bitliu <bitliu@tencent.com>
This commit is contained in:
@@ -69,6 +69,7 @@ if [[ -z ${BUILDINFO} ]];then
|
||||
fi
|
||||
|
||||
while read -r line; do
|
||||
echo -e "\n${line}"
|
||||
LD_EXTRAFLAGS="${LD_EXTRAFLAGS} -X ${line}"
|
||||
done < "${BUILDINFO}"
|
||||
|
||||
@@ -77,7 +78,6 @@ if [ "${DEBUG}" == "1" ]; then
|
||||
OPTIMIZATION_FLAGS=()
|
||||
fi
|
||||
|
||||
|
||||
time GOOS=${BUILD_GOOS} GOARCH=${BUILD_GOARCH} ${GOBINARY} build \
|
||||
${V} "${GOBUILDFLAGS_ARRAY[@]}" ${GCFLAGS:+-gcflags "${GCFLAGS}"} \
|
||||
-o "${OUT}" \
|
||||
|
||||
Reference in New Issue
Block a user