2021-02-10 06:27:49 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2020-11-09 11:20:52 +00:00
|
|
|
cd "$CI_CONT_SRCDIR"
|
2019-08-15 12:28:17 +00:00
|
|
|
|
|
|
|
export VIR_TEST_DEBUG=1
|
|
|
|
|
2020-11-09 11:20:52 +00:00
|
|
|
# $MESON_OPTS is an env that can optionally be set in the container,
|
2019-08-15 12:28:17 +00:00
|
|
|
# populated at build time from the Dockerfile. A typical use case would
|
2020-11-09 11:20:52 +00:00
|
|
|
# be to pass options to trigger cross-compilation
|
2019-08-15 12:28:17 +00:00
|
|
|
|
2023-02-02 15:40:37 +00:00
|
|
|
meson setup build --werror -Dsystem=true $MESON_OPTS $CI_MESON_ARGS || \
|
2020-11-09 11:20:52 +00:00
|
|
|
(cat build/meson-logs/meson-log.txt && exit 1)
|
2019-08-15 12:28:17 +00:00
|
|
|
|
2020-11-09 11:20:52 +00:00
|
|
|
ninja -C build $CI_NINJA_ARGS
|