File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -217,18 +217,29 @@ jobs:
217
217
#git commit -s -a -m "getting rid of -dirty"
218
218
219
219
BUILD_TYPE="gki"
220
- BAZEL_ARGS=(--jobs=$(nproc --all) --verbose_failures --lto=thin)
220
+ BAZEL_ARGS=(--jobs=$(nproc --all) --verbose_failures --lto=thin --max_idle_secs=600 )
221
221
if [ "${{ inputs.soc }}" == "sun" ]; then
222
222
BUILD_TYPE="perf"
223
223
BAZEL_ARGS+=(-g)
224
224
fi
225
225
226
+ (while true; do
227
+ echo "=== $(date) ==="
228
+ free -h
229
+ top -b -n 1 | head -n 15
230
+ echo ""
231
+ sleep 60
232
+ done) &
233
+ MONITOR_PID=$!
234
+
226
235
if [ -f ./kernel_platform/build_with_bazel.py ]; then
227
236
./kernel_platform/oplus/bazel/oplus_modules_variant.sh ${{ inputs.soc }} "$BUILD_TYPE" ""
228
237
./kernel_platform/build_with_bazel.py -t ${{ inputs.soc }} "$BUILD_TYPE" "${BAZEL_ARGS[@]}" -o "$(pwd)/out"
229
238
else
230
239
LTO=thin ./kernel_platform/oplus/build/oplus_build_kernel.sh ${{ inputs.soc }} "$BUILD_TYPE"
231
240
fi
241
+
242
+ kill $MONITOR_PID
232
243
233
244
- name : Copy Images
234
245
run : |
You can’t perform that action at this time.
0 commit comments