aboutsummaryrefslogtreecommitdiff
path: root/ynk-armv8-ilp32-rootfs.yaml
blob: 79197890e23b798505d1190374da810ab6c5f85e (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
- job:
    name: ynk-armv8-ilp32-rootfs
    project-type: matrix
    defaults: global
    logrotate:
        daysToKeep: 30
        numToKeep: 30
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
            linaro:
                - job-build
                - job-cancel
                - job-configure
    disabled: false
    node: build
    display-name: 'OpenEmbedded (ynk/dev) ARMv8 ILP32 rootfs'
    scm:
        - git:
            url: https://git.linaro.org/openembedded/jenkins-setup.git
            refspec: +refs/heads/master:refs/remotes/origin/master
            name: origin
            branches:
                - refs/heads/master
            skip-tag: true
            shallow-clone: true
            wipe-workspace: false
    axes:
        - axis:
            type: slave
            name: label
            values:
                - build
        - axis:
            type: user-defined
            name: gcc_version
            values:
                - 5.2
        - axis:
            type: user-defined
            name: rootfs
            values:
                - minimal-ltp
    execution-strategy:
        sequential: true
    wrappers:
        - timestamps
        - matrix-tie-parent:
            node: build
    builders:
        - shell: |
            #!/bin/bash

            set -x

            export PATH="$HOME/bin:$PATH"

            # override few hardcoded settings
            sed -e 's/\(^GLIBCVERSION\ * = \)\(".*"\)/\1"linaro-2.22"/g' -i functions.sh
            sed -e 's/\(^LINUXLIBCVERSION\ * = \)\(".*"\)/\1"4.3"/g' -i functions.sh

            # we clean build and populate it from cache
            bash -x pre-build-do-cleanup.sh

            if [ `date +%u` = "6" ] && [ "${rootfs}" = "minimal-ltp" ]
            then
              echo "manual hard cleanup on day 6"
              bash periodic-cleanup.sh hard
            fi

            # do a build
            MACHINE=genericarmv8-ilp32 bash -x init-and-build.sh -a armv8 -g ${gcc_version} -r https://git.linaro.org/people/andrey.konovalov/ilp32-dev-manifest.git -b master linaro-image-${rootfs}

            # just try the build - don't publish anything for now
    publishers:
        - email:
            recipients: 'andrey.konovalov@linaro.org'