build.yml (f2df7e7705e832a8a65422c227e9ef1bdac226c1) build.yml (a8bf9de2f4f398315ac5340e4b88c478d5457731)
1@CIRRUS_VM_INSTANCE_TYPE@:
2 @CIRRUS_VM_IMAGE_SELECTOR@: @CIRRUS_VM_IMAGE_NAME@
3 cpu: @CIRRUS_VM_CPUS@
4 memory: @CIRRUS_VM_RAM@
5
6env:
7 CIRRUS_CLONE_DEPTH: 1
8 CI_REPOSITORY_URL: "@CI_REPOSITORY_URL@"

--- 7 unchanged lines hidden (view full) ---

16 TEST_TARGETS: "@TEST_TARGETS@"
17
18build_task:
19 # A little shorter than GitLab timeout in ../cirrus.yml
20 timeout_in: 60m
21 install_script:
22 - @UPDATE_COMMAND@
23 - @INSTALL_COMMAND@ @PKGS@
1@CIRRUS_VM_INSTANCE_TYPE@:
2 @CIRRUS_VM_IMAGE_SELECTOR@: @CIRRUS_VM_IMAGE_NAME@
3 cpu: @CIRRUS_VM_CPUS@
4 memory: @CIRRUS_VM_RAM@
5
6env:
7 CIRRUS_CLONE_DEPTH: 1
8 CI_REPOSITORY_URL: "@CI_REPOSITORY_URL@"

--- 7 unchanged lines hidden (view full) ---

16 TEST_TARGETS: "@TEST_TARGETS@"
17
18build_task:
19 # A little shorter than GitLab timeout in ../cirrus.yml
20 timeout_in: 60m
21 install_script:
22 - @UPDATE_COMMAND@
23 - @INSTALL_COMMAND@ @PKGS@
24 - if test -n "@PYPI_PKGS@" ; then @PIP3@ install @PYPI_PKGS@ ; fi
24 - 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
25 clone_script:
26 - git clone --depth 100 "$CI_REPOSITORY_URL" .
27 - git fetch origin "$CI_COMMIT_REF_NAME"
28 - git reset --hard "$CI_COMMIT_SHA"
29 build_script:
30 - mkdir build
31 - cd build
32 - ../configure --enable-werror $CONFIGURE_ARGS
33 || { cat config.log meson-logs/meson-log.txt; exit 1; }
34 - $MAKE -j$(sysctl -n hw.ncpu)
35 - for TARGET in $TEST_TARGETS ;
36 do
37 $MAKE -j$(sysctl -n hw.ncpu) $TARGET V=1 ;
38 done
39 always:
40 build_result_artifacts:
41 path: build/meson-logs/*log.txt
42 type: text/plain
25 clone_script:
26 - git clone --depth 100 "$CI_REPOSITORY_URL" .
27 - git fetch origin "$CI_COMMIT_REF_NAME"
28 - git reset --hard "$CI_COMMIT_SHA"
29 build_script:
30 - mkdir build
31 - cd build
32 - ../configure --enable-werror $CONFIGURE_ARGS
33 || { cat config.log meson-logs/meson-log.txt; exit 1; }
34 - $MAKE -j$(sysctl -n hw.ncpu)
35 - for TARGET in $TEST_TARGETS ;
36 do
37 $MAKE -j$(sysctl -n hw.ncpu) $TARGET V=1 ;
38 done
39 always:
40 build_result_artifacts:
41 path: build/meson-logs/*log.txt
42 type: text/plain