2020-06-29 17:00:36 +00:00
|
|
|
@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@"
|
2021-05-05 13:44:47 +00:00
|
|
|
VIR_TEST_VERBOSE: "1"
|
|
|
|
VIR_TEST_DEBUG: "1"
|
2020-06-29 17:00:36 +00:00
|
|
|
|
|
|
|
build_task:
|
|
|
|
install_script:
|
2021-02-15 14:29:52 +00:00
|
|
|
- @UPDATE_COMMAND@
|
2020-06-29 17:00:36 +00:00
|
|
|
- @INSTALL_COMMAND@ @PKGS@
|
2021-01-11 14:12:02 +00:00
|
|
|
- if test -n "@PYPI_PKGS@" ; then @PIP3@ install @PYPI_PKGS@ ; fi
|
2020-06-29 17:00:36 +00:00
|
|
|
clone_script:
|
|
|
|
- git clone --depth 100 "$CI_REPOSITORY_URL" .
|
|
|
|
- git fetch origin "$CI_COMMIT_REF_NAME"
|
|
|
|
- git reset --hard "$CI_COMMIT_SHA"
|
|
|
|
build_script:
|
2021-05-10 17:20:30 +00:00
|
|
|
- meson setup build
|
2021-05-10 17:14:12 +00:00
|
|
|
- meson dist -C build --no-tests
|
|
|
|
- meson compile -C build
|
|
|
|
- meson test -C build --no-suite syntax-check
|