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' |
| 82 | default: 'https://review.trustedfirmware.org/trusted-firmware-m' |
| 83 | - string: |
| 84 | name: 'MBEDCRYPTO_VERSION' |
| 85 | default: 'mbedcrypto-3.0.1' |
| 86 | - string: |
| 87 | name: 'MBEDCRYPTO_URL' |
| 88 | default: 'https://github.com/ARMmbed/mbed-crypto.git' |
| 89 | - string: |
| 90 | name: 'CMSIS_VERSION' |
| 91 | default: '5.5.0' |
| 92 | - string: |
| 93 | name: 'PSA_ARCH_TESTS_URL' |
| 94 | default: 'https://github.com/ARM-software/psa-arch-tests' |
| 95 | - string: |
| 96 | name: 'CI_SCRIPTS_BRANCH' |
| 97 | default: 'master' |
| 98 | pipeline-scm: |
| 99 | scm: |
| 100 | - git: |
| 101 | url: '$CI_SCRIPTS_REPO' |
| 102 | branches: |
| 103 | - '$CI_SCRIPTS_BRANCH' |
| 104 | credentials-id: GIT_SSH_KEY |
| 105 | wipe-workspace: false |
| 106 | script-path: jenkins/build-config.jpl |