mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-05 05:45:46 +00:00
b845c2fd3b
Even though 'setup' is assumed when no other command is given, we're being explicit in our GitLab recipes, so do the same for the local build.sh script too. Signed-off-by: Erik Skultety <eskultet@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
15 lines
387 B
Bash
15 lines
387 B
Bash
#!/bin/sh
|
|
|
|
cd "$CI_CONT_SRCDIR"
|
|
|
|
export VIR_TEST_DEBUG=1
|
|
|
|
# $MESON_OPTS is an env that can optionally be set in the container,
|
|
# populated at build time from the Dockerfile. A typical use case would
|
|
# be to pass options to trigger cross-compilation
|
|
|
|
meson setup build --werror $MESON_OPTS $CI_MESON_ARGS || \
|
|
(cat build/meson-logs/meson-log.txt && exit 1)
|
|
|
|
ninja -C build $CI_NINJA_ARGS
|