Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
| 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 Birch | 1817bb6 | 2020-06-02 14:00:23 +0100 | [diff] [blame] | 82 | default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m' |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 83 | - string: |
| 84 | name: 'MBEDCRYPTO_VERSION' |
| 85 | default: 'mbedcrypto-3.0.1' |
| 86 | - string: |
| 87 | name: 'MBEDCRYPTO_URL' |
Karl Zhang | 2e1ab8e | 2020-06-28 15:27:37 +0800 | [diff] [blame^] | 88 | default: 'https://git.trustedfirmware.org/mirror/mbed-crypto.git' |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 89 | - string: |
Tamas Ban | 810d736 | 2020-06-09 10:03:36 +0100 | [diff] [blame] | 90 | name: 'MCUBOOT_VERSION' |
| 91 | default: 'v1.6.0' |
| 92 | - string: |
| 93 | name: 'MCUBOOT_URL' |
Karl Zhang | 2e1ab8e | 2020-06-28 15:27:37 +0800 | [diff] [blame^] | 94 | default: 'https://git.trustedfirmware.org/mirror/mcuboot.git' |
Tamas Ban | 810d736 | 2020-06-09 10:03:36 +0100 | [diff] [blame] | 95 | - string: |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 96 | name: 'CMSIS_VERSION' |
| 97 | default: '5.5.0' |
| 98 | - string: |
Kevin Peng | 813a9a5 | 2020-06-17 14:14:46 +0800 | [diff] [blame] | 99 | 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 Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 105 | name: 'PSA_ARCH_TESTS_URL' |
Karl Zhang | 2e1ab8e | 2020-06-28 15:27:37 +0800 | [diff] [blame^] | 106 | default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git' |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 107 | - string: |
Karl Zhang | b4e6bc9 | 2020-06-17 11:35:50 +0800 | [diff] [blame] | 108 | name: 'PSA_ARCH_TESTS_VERSION' |
| 109 | default: 'refs/heads/master' |
| 110 | - string: |
Dean Birch | e4cbc7c | 2020-01-20 10:40:21 +0000 | [diff] [blame] | 111 | 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 |