aboutsummaryrefslogtreecommitdiff
path: root/android-chromium-clang-armv8.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'android-chromium-clang-armv8.yaml')
-rw-r--r--android-chromium-clang-armv8.yaml67
1 files changed, 67 insertions, 0 deletions
diff --git a/android-chromium-clang-armv8.yaml b/android-chromium-clang-armv8.yaml
new file mode 100644
index 000000000..1662bbf22
--- /dev/null
+++ b/android-chromium-clang-armv8.yaml
@@ -0,0 +1,67 @@
+- job:
+ name: android-chromium-clang-armv8
+ project-type: freestyle
+ defaults: global
+ properties:
+ - authorization:
+ anonymous:
+ - job-read
+ - job-extended-read
+ linaro:
+ - job-build
+ - job-cancel
+ - job-configure
+ - build-discarder:
+ days-to-keep: 60
+ num-to-keep: 60
+ artifact-num-to-keep: 1
+ parameters:
+ - string:
+ name: ARGS
+ default: 'clang_arm64'
+ disabled: false
+ node: docker-xenial-chromium
+ display-name: 'Chromium apk Built with clang for ARMv8'
+ wrappers:
+ - timestamps
+ - timeout:
+ timeout: 500
+ builders:
+ - linaro-publish-token
+ - shell: |
+ #!/bin/bash
+
+ if [ ! -d "/home/buildslave/srv/${JOB_NAME}" ]; then
+ sudo mkdir -p /home/buildslave/srv/${JOB_NAME}
+ sudo chmod 777 /home/buildslave/srv/${JOB_NAME}
+ fi
+ cd /home/buildslave/srv/${JOB_NAME}
+
+ rm -rf configs
+ git clone https://git.linaro.org/ci/job/configs.git
+ ./configs/android-chromium/chromium-build.sh
+
+ # Publish
+ test -d ${HOME}/bin || mkdir ${HOME}/bin
+ wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
+ time python ${HOME}/bin/linaro-cp.py \
+ --api_version 3 \
+ --link-latest \
+ chromium/src/out/Default/apks \
+ android/${JOB_NAME}/${BUILD_NUMBER} \
+ --include "^[^/]+[._](img[^/]*|tar[^/]*|xml|sh|apk)$" \
+ --include "^[BHi][^/]+txt$" \
+ --include "^(MANIFEST|MD5SUMS)$"
+
+ echo "Build finished"
+ publishers:
+ - archive:
+ artifacts: '*.xml, *.json'
+ - logparser:
+ parse-rules: 'Android Build'
+ unstable-on-warning: false
+ fail-on-error: false
+ - fingerprint:
+ files: 'build/fingerprints/*'
+ - email:
+ recipients: 'vishal.bhoj@linaro.org fathi.boudra@linaro.org daniel.diaz@linaro.org'