mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-20 07:00:09 +01:00
gitlab-ci: Format gitlab logs for build-and-test.sh
Use the FDO_CI_BASH_HELPERS functions from ci-templates to format the gitlab ci logs for build-and-test.sh. This adds collapsible sections to make the overall log easier to read. Signed-off-by: Deborah Brouwer <deborah.brouwer@collabora.com>
This commit is contained in:
parent
675bb24a57
commit
624d8b2d3d
1 changed files with 4 additions and 0 deletions
|
|
@ -1,5 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
source "${FDO_CI_BASH_HELPERS}"
|
||||||
|
|
||||||
|
fdo_log_section_start_collapsed build_weston "build_weston"
|
||||||
cd "$BUILDDIR"
|
cd "$BUILDDIR"
|
||||||
meson --prefix="$PREFIX" --wrap-mode=nofallback -Db_sanitize=address ${MESON_OPTIONS} ${MESON_TOOLCHAIN_OPTIONS} ${MESON_DIST_OPTIONS} ..
|
meson --prefix="$PREFIX" --wrap-mode=nofallback -Db_sanitize=address ${MESON_OPTIONS} ${MESON_TOOLCHAIN_OPTIONS} ${MESON_DIST_OPTIONS} ..
|
||||||
ninja -k0 -j${FDO_CI_CONCURRENT:-4}
|
ninja -k0 -j${FDO_CI_CONCURRENT:-4}
|
||||||
|
|
@ -15,6 +18,7 @@ if [ "$CI_JOB_NAME" == "x86_64-debian-full-build" ]; then
|
||||||
ninja clean
|
ninja clean
|
||||||
cd -
|
cd -
|
||||||
fi
|
fi
|
||||||
|
fdo_log_section_end build_weston
|
||||||
|
|
||||||
test -n "${QEMU_SMP}" || QEMU_SMP=${FDO_CI_CONCURRENT:-4}
|
test -n "${QEMU_SMP}" || QEMU_SMP=${FDO_CI_CONCURRENT:-4}
|
||||||
virtme-run --rw --pwd --kimg /weston-virtme/${KERNEL_IMAGE} --kopt quiet --kopt log_buf_len=2M --script-sh ../.gitlab-ci/virtme-scripts/run-weston-tests.sh --qemu-opts -m 4096 -smp ${QEMU_SMP}
|
virtme-run --rw --pwd --kimg /weston-virtme/${KERNEL_IMAGE} --kopt quiet --kopt log_buf_len=2M --script-sh ../.gitlab-ci/virtme-scripts/run-weston-tests.sh --qemu-opts -m 4096 -smp ${QEMU_SMP}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue