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@"
|
|
|
|
|
|
|
|
build_task:
|
|
|
|
install_script:
|
|
|
|
- @INSTALL_COMMAND@ @PKGS@
|
2020-08-03 06:53:00 +00:00
|
|
|
- @PIP@ install @PYPI_PKGS@
|
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:
|
2020-08-03 06:53:00 +00:00
|
|
|
- meson build --prefix=$(pwd)/install-root
|
|
|
|
- if test "$(uname)" = "FreeBSD"; then ninja -C build dist; fi
|
|
|
|
- if test "$(uname)" = "Darwin"; then ninja -C build && ninja -C build install; fi
|