Welcome to mirror list, hosted at ThFree Co, Russian Federation.

.cirrus.yml - github.com/freebsd/poudriere.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: eddf7dc5e061e46b648464aa303a0952abff1555 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
check_task:
        env:
                CIRRUS_CLONE_DEPTH: 1
                MAKEJOBS: "-j4"
                PARALLEL_JOBS: "3"
                DISTFILES_CACHE: "/tmp/distfiles"
                CCACHE_DIR: "/tmp/.ccache"
                CCACHE_COMPRESS: 1
                CCACHE_SIZE: "200M"
                CCACHE_STATIC_PREFIX: "/usr/local"
                CCACHE_NOSTATS: 1
                CCACHE_TEMPDIR: "/tmp"
                BASEFS: ${CIRRUS_WORKING_DIR}/test_bulk
        ccache_cache:
                folder: ${CCACHE_DIR}
        distfiles_cache:
                folder: ${DISTFILES_CACHE}
                populate_script: mkdir -p ${DISTFILES_CACHE}
        pkg_bootstrap_script:
                - env ASSUME_ALWAYS_YES=yes pkg bootstrap -f
                - env IGNORE_OSVERSION=yes pkg update -f
        ccache_setup_script:
                - env IGNORE_OSVERSION=yes pkg install -y ccache-static
                - ccache --max-size=${CCACHE_SIZE}
        # Build with asserts/debugging for checks. distcheck won't use asserts.
        compile_script:
                - ./configure --enable-debug=yes || { cat config.log; exit 1; }
                - make ${MAKEJOBS}
        test_jail_prep_script:
                - make -C test prep
        matrix:
                - name: "Check"
                  env:
                          SH: "sh"
                - name: "Check (/bin/sh)"
                  env:
                          SH: "/bin/sh"
        check_script: make -s ${MAKEJOBS} check SH=${SH} VERBOSE=1 || { cat test/test-suite.log; exit 1; }
        distcheck_script: make -s ${MAKEJOBS} distcheck SH=${SH} VERBOSE=1 || { find . -name test-suite.log -exec cat {} +; exit 1; }
        always:
                bulk_logs_cleanup_script:
                        - ( find -x test_bulk/data/logs/bulk ! -name '*.log' ! -name '.poudriere.*' ! -name '*.json' -delete; ) || true
                test_logs_artifacts:
                        paths:
                                - "test/*.log"
                                - "test_bulk/data/logs/bulk/**"
                        type: text/plain
        freebsd_instance:
                cpu: 8
                memory: 8G
                matrix:
                        - image: freebsd-12-3-release-amd64
                        - image: freebsd-13-0-release-amd64
                        - image_family: freebsd-14-0-snap
# vim: sw=8 et: