提交 96ab71c1 编写于 作者: M Matt Ellis

Make cibuild.sh --release work

The --release flag was being ignored to cibuild.sh because the define we
pass to Make was set before we actually checked the command line arguments
to cibuild.sh.  There was also a casing typo in a variable name the script
was using which caused the BUILD_CONFIGURATION setting to never be passed
when building the non bootstrap projects.
上级 8bf5cc41
......@@ -20,17 +20,11 @@ MAKE="make"
if [[ $OSTYPE == *[Bb][Ss][Dd]* ]]; then
MAKE="gmake"
fi
MAKE_ARGS="BUILD_CONFIGURATION=$BUILD_CONFIGURATION"
# LTTNG is the logging infrastructure used by coreclr. Need this variable set
# so it doesn't output warnings to the console.
export LTTNG_HOME=$HOME
# There are some stability issues that are causing Jenkins builds to fail at an
# unacceptable rate. To temporarily work around that we are going to retry the
# unstable tasks a number of times.
RETRY_COUNT=5
while [[ $# > 0 ]]
do
opt="$1"
......@@ -58,6 +52,8 @@ do
esac
done
MAKE_ARGS="BUILD_CONFIGURATION=$BUILD_CONFIGURATION"
if [ "$CLEAN_RUN" == "true" ]; then
echo Clean out the enlistment
git clean -dxf .
......@@ -75,7 +71,7 @@ echo Building Bootstrap
$MAKE bootstrap $MAKE_ARGS
echo Building CrossPlatform.sln
$MAKE all $MAKE_ARGs BOOTSTRAP=true BUILD_LOG_PATH=Binaries/Build.log
$MAKE all $MAKE_ARGS BOOTSTRAP=true BUILD_LOG_PATH=Binaries/Build.log
$MAKE test
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册