Adding simplified pipelines
tf-m-static:
* Runs cppcheck and checkpatch jobs
* Triggers tf-m-build-and-test
tf-m-cppcheck/checkpatch:
* Run cppcheck and checkpatch accordingly
tf-m-build-config:
* Builds a single configuration of tf-m.
tf-m-build-and-test:
* Can be used to trigger a many configurations of tf-m at once.
* Configuration names generated from a python script
* Parameters then associated from this configuration name and triggers
downstream builds of tf-m-build-config
tf-m-build-docs:
* Builds reference and user guide
tf-m-lava-submit:
* Submits a single job to LAVA
tf-m-nightly:
* Same as tf-m-build-and-test that triggers nightly.
* Runs more configs
Change-Id: I858bbba03068e29c018a306e79116978af2300db
diff --git a/tf-m-cppcheck.yaml b/tf-m-cppcheck.yaml
new file mode 100644
index 0000000..125b359
--- /dev/null
+++ b/tf-m-cppcheck.yaml
@@ -0,0 +1,68 @@
+#-------------------------------------------------------------------------------
+# Copyright (c) 2020, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+#-------------------------------------------------------------------------------
+
+- job:
+ name: tf-m-cppcheck
+ description: 'Runs cppcheck over the source (tree or patch).'
+ project-type: pipeline
+ disabled: false
+ sandbox: true
+ concurrent: true
+ properties:
+ - build-discarder:
+ days-to-keep: 15
+ num-to-keep: 45
+ parameters:
+ - string:
+ name: 'GERRIT_HOST'
+ description: |
+ For use when triggering with unmerged Gerrit changes.
+ - string:
+ name: 'GERRIT_REFSPEC'
+ default: '+refs/heads/*:refs/remotes/origin/*'
+ 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_CHANGE_NUMBER'
+ description: |
+ For use when triggering with unmerged Gerrit changes.
+ - string:
+ name: 'GERRIT_PATCHSET_REVISION'
+ description: |
+ For use when triggering with unmerged Gerrit changes.
+ - string:
+ name: 'CI_SCRIPTS_REPO'
+ default: 'https://review.trustedfirmware.org/ci/tf-m-ci-scripts'
+ - string:
+ name: 'CODE_REPO'
+ default: 'https://review.trustedfirmware.org/trusted-firmware-m'
+ - string:
+ name: 'MBEDCRYPTO_VERSION'
+ default: 'mbedcrypto-3.0.1'
+ - string:
+ name: 'MBEDCRYPTO_URL'
+ default: 'https://github.com/ARMmbed/mbed-crypto.git'
+ - string:
+ name: 'CMSIS_VERSION'
+ default: '5.5.0'
+ - string:
+ name: 'CI_SCRIPTS_BRANCH'
+ default: 'master'
+ pipeline-scm:
+ scm:
+ - git:
+ url: '$CI_SCRIPTS_REPO'
+ branches:
+ - '$CI_SCRIPTS_BRANCH'
+ credentials-id: GIT_SSH_KEY
+ wipe-workspace: false
+ script-path: jenkins/cppcheck.jpl