mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-29 12:49:07 +08:00
Only keep stderr output in case of errors for kernel and selftests builds. Having a multi-thousand-line output isn't useful and slows down Github Actions' log view UI. Also quiet down wget's "progress bar" output. While at the same time see some totals from tar, just for the fun of it. Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
21 lines
376 B
Bash
Executable File
21 lines
376 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -eu
|
|
|
|
source $(cd $(dirname $0) && pwd)/helpers.sh
|
|
|
|
REPO_PATH=$1
|
|
|
|
${VMTEST_ROOT}/checkout_latest_kernel.sh ${REPO_PATH}
|
|
cd ${REPO_PATH}
|
|
|
|
if [[ "${KERNEL}" = 'LATEST' ]]; then
|
|
travis_fold start build_kernel "Kernel build"
|
|
|
|
cp ${VMTEST_ROOT}/configs/latest.config .config
|
|
make -j $((4*$(nproc))) olddefconfig all >/dev/null
|
|
|
|
travis_fold end build_kernel
|
|
fi
|
|
|