blob: 524b21318cb2b75f7704f818aa872480d5104ab2 [file] [log] [blame]
Paul Sokolovsky4434b112022-10-17 12:55:23 +03001- job:
2 name: tf-a-eclair-daily
3 project-type: matrix
4 concurrent: true
5 disabled: false
6 defaults: global
7 Description: |
8 ECLAIR (MISRA compliance) testing of TF-A
9 properties:
10 - build-discarder:
11 days-to-keep: 45
12 - authorization:
13 !include: authorization.yaml.inc
Paul Sokolovsky8307e172022-10-18 11:45:42 +030014 - throttle:
15 option: category
16 categories: [eclair-daily]
17 matrix-builds: false
18 matrix-configs: true
Paul Sokolovsky4434b112022-10-17 12:55:23 +030019 parameters:
20 - string:
21 name: MAKE_TARGET
22 default: ''
23 description: |
24 TF-A make target
25 - string:
26 name: GERRIT_HOST
27 default: 'review.trustedfirmware.org'
28 - string:
29 name: GERRIT_PROJECT
30 default: 'TF-A/trusted-firmware-a'
31 description: |
32 Git project to build (also set by Gerrit trigger)
33 - string:
34 name: GERRIT_REFNAME
35 default: 'integration'
36 description: |
37 Git branch to build (also set by Gerrit trigger)
38 - string:
39 name: GERRIT_NEWREV
40 default: ''
41 description: |
42 Git revision to build (also set by Gerrit ref-updated trigger)
43 - string:
44 name: MBEDTLS_URL
45 default: 'https://github.com/ARMmbed/mbedtls/archive/mbedtls-2.28.0.tar.gz'
46 description: |
47 URL of mbedTLS library to use in build (only for some configurations)
48 - string:
49 name: SHARE_FOLDER
50 default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
51 description: 'Folder containing shared repositories for downstream pipeline jobs'
52 axes:
53 - axis:
54 type: slave
55 name: label
56 values:
57 - docker-tf-a-eclair
58 - axis:
59 type: user-defined
60 name: TF_CONFIG
61 values:
62 - fvp-aarch32-default
Paul Sokolovskybf7ab2c2022-10-17 14:15:43 +030063 - fvp-aarch32-enable-runtime-instr
64 - fvp-aarch32-rst-to-sp-min
65 - fvp-boot-el3-payload
Paul Sokolovsky4434b112022-10-17 12:55:23 +030066 - fvp-default
Paul Sokolovskybf7ab2c2022-10-17 14:15:43 +030067 - fvp-enable-runtime-instr
68 - fvp-ext-pstate-ea-el3
Paul Sokolovsky4434b112022-10-17 12:55:23 +030069 # Causes runtime error in ECLAIR: https://support.bugseng.com/mantis/view.php?id=5083
70 #- fvp-mb_hash256-tbb_hash256-romlib
Paul Sokolovskybf7ab2c2022-10-17 14:15:43 +030071 - fvp-no-cohmem
72 - fvp-opteed
73 - fvp-r-default
74 - fvp-rst-bl31
75 - fvp-tspd
76 - fvp-tspd-gicv2-symmetric-model
77 - fvp-tspd-irq2el3
78 - fvp-tspd-quad-cluster
79 - fvp-tspd-tbb-mbedtls
80 - fvp-tspd-tsp-async
81 - juno-aarch32-rst-to-sp-min
82 - juno-aarch32-rst-to-sp-min-enable-runtime-instr
83 - juno-default
84 - juno-tspd
Paul Sokolovsky4434b112022-10-17 12:55:23 +030085 triggers:
Paul Sokolovskydd79d742022-10-17 22:44:43 +030086 - timed : 'H 2 * * *'
Paul Sokolovsky4434b112022-10-17 12:55:23 +030087# - gerrit:
88# silent: true
89# server-name: 'review.trustedfirmware.org'
90# projects:
91# - branches:
92# - branch-compare-type: PLAIN
93# branch-pattern: integration
94# project-compare-type: PLAIN
95# project-pattern: 'TF-A/trusted-firmware-a'
96# trigger-on:
97# - ref-updated-event
98 wrappers:
99 - timestamps
100 - timeout:
101 timeout: 120
102 fail: true
103 builders:
104 - shell: |
105 #!/bin/bash
106 set -ex
107 pwd
108 git clone https://git.trustedfirmware.org/ci/tf-a-ci-scripts.git
109 git clone https://${GERRIT_HOST}/${GERRIT_PROJECT} -b ${GERRIT_REFNAME}
110 ls -l
111 if [ -n "${GERRIT_NEWREV}" ]; then
112 (cd $(basename ${GERRIT_PROJECT}); git checkout ${GERRIT_NEWREV})
113 else
114 # Checkout last commit from yesterday, to have a stable commit for
115 # multiple builds.
116 (cd $(basename ${GERRIT_PROJECT}); git checkout $(git rev-list -n1 --before="today" HEAD))
117 fi
118 (cd $(basename ${GERRIT_PROJECT}); git log -n1)
Paul Sokolovsky4434b112022-10-17 12:55:23 +0300119 detachLicense 2100
120 trap "returnLicense" EXIT
121 tf-a-ci-scripts/eclair/analyze.sh ${TF_CONFIG}
122 publishers:
123 - archive:
Paul Sokolovsky74ecf712022-10-26 22:41:40 +0300124 artifacts: 'ECLAIR/**, index.html'
Paul Sokolovsky4434b112022-10-17 12:55:23 +0300125 excludes: 'ECLAIR/out/.data/**'
126 latest-only: false
127 allow-empty: true
128 - email:
129 recipients: 'paul.sokolovsky@linaro.org'