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@" 16f13abca0SDaniel P. Berrangé TEST_TARGETS: "@TEST_TARGETS@" 170e103a65SDaniel P. Berrangé 180e103a65SDaniel P. Berrangébuild_task: 19c576d8bfSDaniel P. Berrangé # A little shorter than GitLab timeout in ../cirrus.yml 20c576d8bfSDaniel P. Berrangé timeout_in: 60m 210e103a65SDaniel P. Berrangé install_script: 220e103a65SDaniel P. Berrangé - @UPDATE_COMMAND@ 230e103a65SDaniel P. Berrangé - @INSTALL_COMMAND@ @PKGS@ 24a8bf9de2SDaniel P. Berrangé - if test -n "@PYPI_PKGS@" ; then PYLIB=$(@PYTHON@ -c 'import sysconfig; print(sysconfig.get_path("stdlib"))'); rm -f $PYLIB/EXTERNALLY-MANAGED; @PIP3@ install @PYPI_PKGS@ ; fi 250e103a65SDaniel P. Berrangé clone_script: 260e103a65SDaniel P. Berrangé - git clone --depth 100 "$CI_REPOSITORY_URL" . 270e103a65SDaniel P. Berrangé - git fetch origin "$CI_COMMIT_REF_NAME" 280e103a65SDaniel P. Berrangé - git reset --hard "$CI_COMMIT_SHA" 29*eb9ca730SPhilippe Mathieu-Daudé step_script: 300e103a65SDaniel P. Berrangé - mkdir build 310e103a65SDaniel P. Berrangé - cd build 320e103a65SDaniel P. Berrangé - ../configure --enable-werror $CONFIGURE_ARGS 330e103a65SDaniel P. Berrangé || { cat config.log meson-logs/meson-log.txt; exit 1; } 340e103a65SDaniel P. Berrangé - $MAKE -j$(sysctl -n hw.ncpu) 350e103a65SDaniel P. Berrangé - for TARGET in $TEST_TARGETS ; 360e103a65SDaniel P. Berrangé do 37793d6e04SThomas Huth $MAKE -j$(sysctl -n hw.ncpu) $TARGET V=1 ; 380e103a65SDaniel P. Berrangé done 39793d6e04SThomas Huth always: 40793d6e04SThomas Huth build_result_artifacts: 41793d6e04SThomas Huth path: build/meson-logs/*log.txt 42793d6e04SThomas Huth type: text/plain 43