blob: c7123ecc2f83e0a510b157f82f30e6979536dd5c [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
14 parameters:
15 - string:
16 name: MAKE_TARGET
17 default: ''
18 description: |
19 TF-A make target
20 - string:
21 name: GERRIT_HOST
22 default: 'review.trustedfirmware.org'
23 - string:
24 name: GERRIT_PROJECT
25 default: 'TF-A/trusted-firmware-a'
26 description: |
27 Git project to build (also set by Gerrit trigger)
28 - string:
29 name: GERRIT_REFNAME
30 default: 'integration'
31 description: |
32 Git branch to build (also set by Gerrit trigger)
33 - string:
34 name: GERRIT_NEWREV
35 default: ''
36 description: |
37 Git revision to build (also set by Gerrit ref-updated trigger)
38 - string:
39 name: MBEDTLS_URL
40 default: 'https://github.com/ARMmbed/mbedtls/archive/mbedtls-2.28.0.tar.gz'
41 description: |
42 URL of mbedTLS library to use in build (only for some configurations)
43 - string:
44 name: SHARE_FOLDER
45 default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
46 description: 'Folder containing shared repositories for downstream pipeline jobs'
47 axes:
48 - axis:
49 type: slave
50 name: label
51 values:
52 - docker-tf-a-eclair
53 - axis:
54 type: user-defined
55 name: TF_CONFIG
56 values:
57 - fvp-aarch32-default
Paul Sokolovskybf7ab2c2022-10-17 14:15:43 +030058 - fvp-aarch32-enable-runtime-instr
59 - fvp-aarch32-rst-to-sp-min
60 - fvp-boot-el3-payload
Paul Sokolovsky4434b112022-10-17 12:55:23 +030061 - fvp-default
Paul Sokolovskybf7ab2c2022-10-17 14:15:43 +030062 - fvp-enable-runtime-instr
63 - fvp-ext-pstate-ea-el3
Paul Sokolovsky4434b112022-10-17 12:55:23 +030064 # Causes runtime error in ECLAIR: https://support.bugseng.com/mantis/view.php?id=5083
65 #- fvp-mb_hash256-tbb_hash256-romlib
Paul Sokolovskybf7ab2c2022-10-17 14:15:43 +030066 - fvp-no-cohmem
67 - fvp-opteed
68 - fvp-r-default
69 - fvp-rst-bl31
70 - fvp-tspd
71 - fvp-tspd-gicv2-symmetric-model
72 - fvp-tspd-irq2el3
73 - fvp-tspd-quad-cluster
74 - fvp-tspd-tbb-mbedtls
75 - fvp-tspd-tsp-async
76 - juno-aarch32-rst-to-sp-min
77 - juno-aarch32-rst-to-sp-min-enable-runtime-instr
78 - juno-default
79 - juno-tspd
Paul Sokolovsky4434b112022-10-17 12:55:23 +030080 triggers:
81# - timed : 'H 2 * * *'
82# - gerrit:
83# silent: true
84# server-name: 'review.trustedfirmware.org'
85# projects:
86# - branches:
87# - branch-compare-type: PLAIN
88# branch-pattern: integration
89# project-compare-type: PLAIN
90# project-pattern: 'TF-A/trusted-firmware-a'
91# trigger-on:
92# - ref-updated-event
93 wrappers:
94 - timestamps
95 - timeout:
96 timeout: 120
97 fail: true
98 builders:
99 - shell: |
100 #!/bin/bash
101 set -ex
102 pwd
103 git clone https://git.trustedfirmware.org/ci/tf-a-ci-scripts.git
104 git clone https://${GERRIT_HOST}/${GERRIT_PROJECT} -b ${GERRIT_REFNAME}
105 ls -l
106 if [ -n "${GERRIT_NEWREV}" ]; then
107 (cd $(basename ${GERRIT_PROJECT}); git checkout ${GERRIT_NEWREV})
108 else
109 # Checkout last commit from yesterday, to have a stable commit for
110 # multiple builds.
111 (cd $(basename ${GERRIT_PROJECT}); git checkout $(git rev-list -n1 --before="today" HEAD))
112 fi
113 (cd $(basename ${GERRIT_PROJECT}); git log -n1)
114 detachLicense 2100
115 trap "returnLicense" EXIT
116 tf-a-ci-scripts/eclair/analyze.sh ${TF_CONFIG}
117 publishers:
118 - archive:
119 artifacts: 'ECLAIR/**'
120 excludes: 'ECLAIR/out/.data/**'
121 latest-only: false
122 allow-empty: true
123 - email:
124 recipients: 'paul.sokolovsky@linaro.org'