mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 15:27:47 +00:00
68e8fbe6b1
When CI jobs fail on the test suite, we don't see much helpful information by default: stderr: TEST: bhyvexml2argvtest ......!!.............!......!........... 40 ........................!...... 71 FAIL Some tests failed. Run them using: VIR_TEST_DEBUG=1 VIR_TEST_RANGE=7-8,22,29,65 /tmp/cirrus-ci-build/build/meson-private/dist-build/tests/bhyvexml2argvtest Following the instructions to re-run the test with VIR_TEST_DEBUG=1 is quite unfriendly when we could have had that set for CI already. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
27 lines
716 B
YAML
27 lines
716 B
YAML
@CIRRUS_VM_INSTANCE_TYPE@:
|
|
@CIRRUS_VM_IMAGE_SELECTOR@: @CIRRUS_VM_IMAGE_NAME@
|
|
|
|
env:
|
|
CI_REPOSITORY_URL: "@CI_REPOSITORY_URL@"
|
|
CI_COMMIT_REF_NAME: "@CI_COMMIT_REF_NAME@"
|
|
CI_COMMIT_SHA: "@CI_COMMIT_SHA@"
|
|
PATH: "@PATH@"
|
|
PKG_CONFIG_PATH: "@PKG_CONFIG_PATH@"
|
|
PYTHON: "@PYTHON@"
|
|
MAKE: "@MAKE@"
|
|
VIR_TEST_VERBOSE: "1"
|
|
VIR_TEST_DEBUG: "1"
|
|
|
|
build_task:
|
|
install_script:
|
|
- @UPDATE_COMMAND@
|
|
- @INSTALL_COMMAND@ @PKGS@
|
|
- if test -n "@PYPI_PKGS@" ; then @PIP3@ install @PYPI_PKGS@ ; fi
|
|
clone_script:
|
|
- git clone --depth 100 "$CI_REPOSITORY_URL" .
|
|
- git fetch origin "$CI_COMMIT_REF_NAME"
|
|
- git reset --hard "$CI_COMMIT_SHA"
|
|
build_script:
|
|
- meson build
|
|
- ninja -C build dist
|