blob: 46dad4c1842cdf402b38b6d978d84c1649dcbc12 [file] [log] [blame]
Dean Birche4cbc7c2020-01-20 10:40:21 +00001#-------------------------------------------------------------------------------
2# Copyright (c) 2020, Arm Limited. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-------------------------------------------------------------------------------
7
8- job:
9 name: tf-m-build-config
10 description: 'Builds single configuration of the tf-m source code.'
11 project-type: pipeline
12 disabled: false
13 sandbox: true
14 properties:
15 - build-discarder:
16 days-to-keep: 15
17 num-to-keep: 6000
18 concurrent: true
19 parameters:
20 - string:
21 name: 'CONFIG_NAME'
22 - string:
23 name: 'TARGET_PLATFORM'
24 description: |
25 Specifies the target platform.
26 For more information see <a href="https://git.trustedfirmware.org/trusted-firmware-m.git/tree/docs/user_guides/tfm_build_instruction.rst">here</a>.
27 default: ''
28 - string:
29 name: 'PROJ_CONFIG'
30 description: |
31 Specifies the way the application is built.
32 For more information see <a href="https://git.trustedfirmware.org/trusted-firmware-m.git/tree/docs/user_guides/tfm_build_instruction.rst">here</a>.
33 default: ''
34 - string:
35 name: 'COMPILER'
36 description: |
37 Specifies the compiler toolchain.
38 For more information see <a href="https://git.trustedfirmware.org/trusted-firmware-m.git/tree/docs/user_guides/tfm_build_instruction.rst">here</a>.
39 default: ''
40 - string:
41 name: 'CMAKE_BUILD_TYPE'
42 description: |
43 Configures debugging support.
44 For more information see <a href="https://git.trustedfirmware.org/trusted-firmware-m.git/tree/docs/user_guides/tfm_build_instruction.rst">here</a>.
45 default: ''
46 - string:
47 name: 'BL2'
48 default: 'True'
49 description: |
50 Whether to build BL2.
51 For more information see <a href="https://git.trustedfirmware.org/trusted-firmware-m.git/tree/docs/user_guides/tfm_secure_boot.rst">here</a>.
52 - string:
53 name: 'GERRIT_REFSPEC'
54 default: 'refs/heads/master'
55 description: |
56 For use when triggering with unmerged Gerrit changes.
57 - string:
58 name: 'GERRIT_BRANCH'
59 default: 'master'
60 description: |
61 For use when triggering with unmerged Gerrit changes.
62 - string:
63 name: 'GERRIT_HOST'
64 default: ''
65 description: |
66 For use when triggering with unmerged Gerrit changes.
67 - string:
68 name: 'GERRIT_PATCHSET_REVISION'
69 default: ''
70 description: |
71 For use when triggering with unmerged Gerrit changes.
72 - string:
73 name: 'GERRIT_CHANGE_NUMBER'
74 default: ''
75 description: |
76 For use when triggering with unmerged Gerrit changes.
77 - string:
78 name: 'CI_SCRIPTS_REPO'
79 default: 'https://review.trustedfirmware.org/ci/tf-m-ci-scripts'
80 - string:
81 name: 'CODE_REPO'
Dean Birch1817bb62020-06-02 14:00:23 +010082 default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m'
Dean Birche4cbc7c2020-01-20 10:40:21 +000083 - string:
84 name: 'MBEDCRYPTO_VERSION'
85 default: 'mbedcrypto-3.0.1'
86 - string:
87 name: 'MBEDCRYPTO_URL'
Karl Zhang2e1ab8e2020-06-28 15:27:37 +080088 default: 'https://git.trustedfirmware.org/mirror/mbed-crypto.git'
Dean Birche4cbc7c2020-01-20 10:40:21 +000089 - string:
Tamas Ban810d7362020-06-09 10:03:36 +010090 name: 'MCUBOOT_VERSION'
91 default: 'v1.6.0'
92 - string:
93 name: 'MCUBOOT_URL'
Karl Zhang2e1ab8e2020-06-28 15:27:37 +080094 default: 'https://git.trustedfirmware.org/mirror/mcuboot.git'
Tamas Ban810d7362020-06-09 10:03:36 +010095 - string:
Dean Birche4cbc7c2020-01-20 10:40:21 +000096 name: 'CMSIS_VERSION'
97 default: '5.5.0'
98 - string:
Kevin Peng813a9a52020-06-17 14:14:46 +080099 name: 'TFM_TESTS_URL'
100 default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git'
101 - string:
102 name: 'TFM_TESTS_REFSPEC'
103 default: 'refs/heads/master'
104 - string:
Dean Birche4cbc7c2020-01-20 10:40:21 +0000105 name: 'PSA_ARCH_TESTS_URL'
Karl Zhang2e1ab8e2020-06-28 15:27:37 +0800106 default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git'
Dean Birche4cbc7c2020-01-20 10:40:21 +0000107 - string:
Karl Zhangb4e6bc92020-06-17 11:35:50 +0800108 name: 'PSA_ARCH_TESTS_VERSION'
109 default: 'refs/heads/master'
110 - string:
Dean Birche4cbc7c2020-01-20 10:40:21 +0000111 name: 'CI_SCRIPTS_BRANCH'
112 default: 'master'
113 pipeline-scm:
114 scm:
115 - git:
116 url: '$CI_SCRIPTS_REPO'
117 branches:
118 - '$CI_SCRIPTS_BRANCH'
119 credentials-id: GIT_SSH_KEY
120 wipe-workspace: false
121 script-path: jenkins/build-config.jpl