10e103a65SDaniel P. Berrangé@CIRRUS_VM_INSTANCE_TYPE@: 20e103a65SDaniel P. Berrangé @CIRRUS_VM_IMAGE_SELECTOR@: @CIRRUS_VM_IMAGE_NAME@ 30e103a65SDaniel P. Berrangé cpu: @CIRRUS_VM_CPUS@ 40e103a65SDaniel P. Berrangé memory: @CIRRUS_VM_RAM@ 50e103a65SDaniel P. Berrangé 60e103a65SDaniel P. Berrangéenv: 70e103a65SDaniel P. Berrangé CIRRUS_CLONE_DEPTH: 1 80e103a65SDaniel P. Berrangé CI_REPOSITORY_URL: "@CI_REPOSITORY_URL@" 90e103a65SDaniel P. Berrangé CI_COMMIT_REF_NAME: "@CI_COMMIT_REF_NAME@" 100e103a65SDaniel P. Berrangé CI_COMMIT_SHA: "@CI_COMMIT_SHA@" 110e103a65SDaniel P. Berrangé PATH: "@PATH@" 120e103a65SDaniel P. Berrangé PKG_CONFIG_PATH: "@PKG_CONFIG_PATH@" 130e103a65SDaniel P. Berrangé PYTHON: "@PYTHON@" 140e103a65SDaniel P. Berrangé MAKE: "@MAKE@" 150e103a65SDaniel P. Berrangé CONFIGURE_ARGS: "@CONFIGURE_ARGS@" 16*f13abca0SDaniel P. Berrangé TEST_TARGETS: "@TEST_TARGETS@" 170e103a65SDaniel P. Berrangé 180e103a65SDaniel P. Berrangébuild_task: 190e103a65SDaniel P. Berrangé install_script: 200e103a65SDaniel P. Berrangé - @UPDATE_COMMAND@ 210e103a65SDaniel P. Berrangé - @INSTALL_COMMAND@ @PKGS@ 220e103a65SDaniel P. Berrangé - if test -n "@PYPI_PKGS@" ; then @PIP3@ install @PYPI_PKGS@ ; fi 230e103a65SDaniel P. Berrangé clone_script: 240e103a65SDaniel P. Berrangé - git clone --depth 100 "$CI_REPOSITORY_URL" . 250e103a65SDaniel P. Berrangé - git fetch origin "$CI_COMMIT_REF_NAME" 260e103a65SDaniel P. Berrangé - git reset --hard "$CI_COMMIT_SHA" 270e103a65SDaniel P. Berrangé build_script: 280e103a65SDaniel P. Berrangé - mkdir build 290e103a65SDaniel P. Berrangé - cd build 300e103a65SDaniel P. Berrangé - ../configure --enable-werror $CONFIGURE_ARGS 310e103a65SDaniel P. Berrangé || { cat config.log meson-logs/meson-log.txt; exit 1; } 320e103a65SDaniel P. Berrangé - $MAKE -j$(sysctl -n hw.ncpu) 330e103a65SDaniel P. Berrangé - for TARGET in $TEST_TARGETS ; 340e103a65SDaniel P. Berrangé do 350e103a65SDaniel P. Berrangé $MAKE -j$(sysctl -n hw.ncpu) $TARGET V=1 ; 360e103a65SDaniel P. Berrangé done 37