aboutsummaryrefslogtreecommitdiff
path: root/armnn-ci-build.yaml
diff options
context:
space:
mode:
authorTheodore Grey <theodore.grey@linaro.org>2019-06-27 10:32:14 +0100
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2019-06-28 10:35:38 +0000
commit0363e63b9420dc42e396be4a81e78c0a00318bb9 (patch)
tree94468baf62e3a78243c462543eb540afacf9514e /armnn-ci-build.yaml
parenta44418e9fc04547be30eda10e34eb2c06548488c (diff)
Adding Lava deployment for Synquacer
Change-Id: I8a6bd24eea83457474eb89f218d6b24c4e22d25f
Diffstat (limited to 'armnn-ci-build.yaml')
-rw-r--r--armnn-ci-build.yaml25
1 files changed, 22 insertions, 3 deletions
diff --git a/armnn-ci-build.yaml b/armnn-ci-build.yaml
index 9312b3b6..1cdb915d 100644
--- a/armnn-ci-build.yaml
+++ b/armnn-ci-build.yaml
@@ -28,6 +28,13 @@
disabled: false
node: docker-stretch-arm64
display-name: 'Arm NN - CI Build'
+ axes:
+ - axis:
+ type: user-defined
+ name: MACHINE
+ values:
+ - 'hi960-hikey'
+ - 'synquacer'
wrappers:
- timestamps
builders:
@@ -35,7 +42,21 @@
!include-raw: armnn-ci-build/builders.sh
- shell: |
#!/bin/bash -e
+
+ case "${MACHINE}" in
+ hikey)
+ DEVICE_TYPE=hi960-hikey
+ ;;
+ synquacer)
+ DEVICE_TYPE=synquacer
+ ;;
+ *)
+ echo "Skip DEVICE_TYPE for ${MACHINE}"
+ ;;
+ esac
+
echo "DEVICE_TYPE=${DEVICE_TYPE}" > device_type_parameters
+
- inject:
properties-file: device_type_parameters
- linaro-publish-token
@@ -53,8 +74,6 @@
- shell: |
#!/bin/bash -ex
- export DEVICE_TYPE=hi960-hikey
-
rm -rf configs
git clone --depth 1 http://git.linaro.org/ci/job/configs.git
@@ -65,4 +84,4 @@
--qa-server-team staging-lkft \
--qa-server-project armnn-ci-build \
--lava-server ${LAVA_SERVER} \
- --git-commit ${GIT_COM_ID}
+ --git-commit ${GIT_COM_ID} \ No newline at end of file