File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 2929
3030 - name : Build
3131 run : |
32- ENABLE_TESTING=1 RUN_IN_CI=true bash ./platforms/build-web.sh
32+ ENABLE_TESTING=1 bash ./platforms/build-web.sh complete_rebuild release CI
3333
3434 # TODO upload page to gh-pages!
3535 - name : Upload artifacts
Original file line number Diff line number Diff line change @@ -117,6 +117,8 @@ export COMPILE_TYPE="smart"
117117
118118export BUILDTYPE=" debug"
119119
120+ export RUN_IN_CI=" false"
121+
120122if [ " $# " -eq 0 ]; then
121123 # nothing
122124 echo " Using compile type '$COMPILE_TYPE '"
@@ -125,8 +127,17 @@ elif [ "$#" -eq 1 ]; then
125127elif [ " $# " -eq 2 ]; then
126128 COMPILE_TYPE=" $1 "
127129 BUILDTYPE=" $2 "
130+ elif [ " $# " -eq 3 ]; then
131+ COMPILE_TYPE=" $1 "
132+ BUILDTYPE=" $2 "
133+
134+ if [ -z " $3 " ]; then
135+ RUN_IN_CI=" false"
136+ else
137+ RUN_IN_CI=" true"
138+ fi
128139else
129- echo " Too many arguments given, expected 1 or 2 "
140+ echo " Too many arguments given, expected 1, 2 or 3 "
130141 exit 1
131142fi
132143
@@ -154,7 +165,8 @@ if [ "$COMPILE_TYPE" == "complete_rebuild" ] || [ ! -e "$BUILD_DIR" ]; then
154165 --cross-file " $CROSS_FILE " \
155166 " -Dbuildtype=$BUILDTYPE " \
156167 -Ddefault_library=static \
157- -Dtests=false
168+ -Dtests=false \
169+ " -Drun_in_ci=$RUN_IN_CI "
158170
159171fi
160172
You can’t perform that action at this time.
0 commit comments