blob: 2eb040c682fd4150c9435900a52e5ecca7968c78 [file] [log] [blame]
#-------------------------------------------------------------------------------
# Copyright (c) 2020-2021, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
#-------------------------------------------------------------------------------
- job:
name: tf-m-build-config
description: 'Builds single configuration of the tf-m source code.'
project-type: pipeline
disabled: false
sandbox: true
properties:
- build-discarder:
days-to-keep: 15
num-to-keep: 3000
- authorization:
!include: authorization.yaml.inc
concurrent: true
parameters:
- string:
name: 'CONFIG_NAME'
- string:
name: 'TARGET_PLATFORM'
description: |
Specifies the target platform.
For more information see <a href="https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/plain/docs/getting_started/tfm_build_instruction.rst">here</a>.
default: ''
- string:
name: 'PROJ_CONFIG'
description: |
Specifies the way the application is built.
For more information see <a href="https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/plain/docs/getting_started/tfm_build_instruction.rst">here</a>.
default: ''
- string:
name: 'COMPILER'
description: |
Specifies the compiler toolchain.
For more information see <a href="https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/plain/docs/getting_started/tfm_build_instruction.rst">here</a>.
default: ''
- string:
name: 'CMAKE_BUILD_TYPE'
description: |
Configures debugging support.
For more information see <a href="https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/plain/docs/getting_started/tfm_build_instruction.rst">here</a>.
default: ''
- string:
name: 'BL2'
default: 'True'
description: |
Whether to build BL2.
For more information see <a href="https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git/plain/docs/getting_started/tfm_secure_boot.rst">here</a>.
- string:
name: 'GERRIT_REFSPEC'
default: 'refs/heads/master'
description: |
For use when triggering with unmerged Gerrit changes.
- string:
name: 'GERRIT_BRANCH'
default: 'master'
description: |
For use when triggering with unmerged Gerrit changes.
- string:
name: 'GERRIT_HOST'
default: ''
description: |
For use when triggering with unmerged Gerrit changes.
- string:
name: 'GERRIT_PATCHSET_REVISION'
default: ''
description: |
For use when triggering with unmerged Gerrit changes.
- string:
name: 'GERRIT_CHANGE_NUMBER'
default: ''
description: |
For use when triggering with unmerged Gerrit changes.
- string:
name: 'CODE_REPO'
default: 'https://review.trustedfirmware.org/TF-M/trusted-firmware-m'
- string:
name: 'CI_SCRIPTS_REPO'
default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts'
- string:
name: 'CI_SCRIPTS_BRANCH'
default: 'master'
- string:
name: 'MBEDTLS_VERSION'
default: 'mbedtls-3.0.0'
- string:
name: 'MBEDTLS_URL'
default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
- string:
name: 'MCUBOOT_REFSPEC'
default: 'v1.8.0'
description: |
Specify which MCUboot version to use
refs/heads/master : Pick up latest master
refs/tags/<TAG_NAME> : Pick up a tagged version
- string:
name: 'MCUBOOT_URL'
default: 'https://git.trustedfirmware.org/mirror/mcuboot.git'
- string:
name: 'TFM_TESTS_URL'
default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git'
- string:
name: 'TFM_TESTS_REFSPEC'
default: 'refs/heads/master'
- string:
name: 'PSA_ARCH_TESTS_URL'
default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git'
- string:
name: 'PSA_ARCH_TESTS_VERSION'
default: 'v21.10_API1.3_ADAC_ALPHA-1'
- string:
name: 'CODE_COVERAGE_EN'
default: 'FALSE'
- string:
name: 'SQUAD_CONFIGURATIONS'
default: ''
description: 'Reference configurations whose metrics will be sent to a SQUAD Dashboard'
- string:
name: SHARE_FOLDER
default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
description: 'Folder containing shared repositories for downstream pipeline jobs'
wrappers:
- timestamps
pipeline-scm:
scm:
- git:
url: '$CI_SCRIPTS_REPO'
branches:
- '$CI_SCRIPTS_BRANCH'
credentials-id: GIT_SSH_KEY
wipe-workspace: false
script-path: jenkins/build-config.jpl