aboutsummaryrefslogtreecommitdiff
path: root/tcwg-make-release.yaml
blob: b6a5c34d974d134d18e69425f84d4b2208b0cb52 (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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
- job:
    name: tcwg-make-release
    project-type: matrix
    defaults: global
    logrotate:
        daysToKeep: 10
        numToKeep: 3
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
            linaro:
                - job-build
                - job-cancel
    parameters:
        - string:
            name: gcc_src
            default: 'gcc-linaro-5.1-2015.08-rc1.tar.xz'
            description: 'The source of GCC. Specify as it would be passed to abe.sh, either a source tarballs, or git branch and revision.'
        - bool:
            name: runtests
            default: false
            description: 'Whether to run tests on the install binary toolchains.'
        - bool:
            name: canadian
            default: false
            description: 'Whether to build win32 executables.'
        - string:
            name: binutils_src
            default: 'binutils-gdb.git~linaro_binutils-2_25-branch'
            description: 'The revision of binutils to use for this release.'
        - string:
            name: date
            default: '2015.08'
            description: 'A release string different than the the source files.'
        - string:
            name: extra_args
            default:
            description: 'Extra command line arguments to ABE'
        - bool:
            name: source
            default: false
            description: 'Whether to build a source tarball'
        - string:
            name: abe_branch
            default: refs/heads/master
            description: 'ABE revision to test'
        - bool:
            name: rpm
            default: false
            description: 'Whether to build an RPM package.'
        - bool:
            name: deb
            default: false
            description: 'Whether to build a DEB package.'
        - bool:
            name: debug
            default: false
            description: 'Whether to enable bash debugging output.'
    disabled: false
    node: tcwg-x86_64-ex40build-01
    retry-count: 3
    concurrent: true
    display-name: 'TCWG Make Release'
    scm:
        - git:
            url: https://git-us.linaro.org/toolchain/abe.git
            refspec: +refs/changes/*:refs/remotes/changes/*
            branches:
                - ${abe_branch}
            skip-tag: true
            shallow-clone: true
            wipe-workspace: true
            basedir: abe
    axes:
        - axis:
            type: slave
            name: label
            values:
                - tcwg-x86_64-ex40
        - axis:
            type: user-defined
            name: target
            values:
                - aarch64-elf
                - aarch64-linux-gnu
                - aarch64_be-elf
                - aarch64_be-linux-gnu
                - armv8l-linux-gnueabihf
                - arm-eabi
                - arm-linux-gnueabi
                - arm-linux-gnueabihf
                - armeb-eabi
                - armeb-linux-gnueabi
                - armeb-linux-gnueabihf
    execution-strategy:
        sequential: false
    wrappers:
        - timeout:
            timeout: 300
        - timestamps
        - ssh-agent-credentials:
            # tcwg-buildslave user id
            users:
                - 'e0958a95-204f-4c14-a66c-5e2be6c5d50a'
        - build-name:
            name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
    builders:
        - shell: |
            #!/bin/bash
            bash -x ${WORKSPACE}/abe/scripts/MakeRelease.job --target ${target} --tarbin