diff options
author | Vishal Bhoj <vishal.bhoj@linaro.org> | 2016-05-11 19:56:58 +0530 |
---|---|---|
committer | Vishal Bhoj <vishal.bhoj@linaro.org> | 2016-05-11 19:56:58 +0530 |
commit | 24e7c3fef8615d33ff21074d795b24ceda79eff5 (patch) | |
tree | 0cbd9ee6994a3db67915e7cc612f039144059f9c /android-chromium-gcc-armv8.yaml | |
parent | 63d5714d3a864717da0f4db570981cd86ba49a0b (diff) |
android-chromium: add armv8,gcc,clang combination
Change-Id: Ibdb498ca4010fd19053c57052c1580614714368f
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
Diffstat (limited to 'android-chromium-gcc-armv8.yaml')
-rw-r--r-- | android-chromium-gcc-armv8.yaml | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/android-chromium-gcc-armv8.yaml b/android-chromium-gcc-armv8.yaml new file mode 100644 index 0000000000..a531eaf8d0 --- /dev/null +++ b/android-chromium-gcc-armv8.yaml @@ -0,0 +1,67 @@ +- job: + name: android-chromium-gcc-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: 'gcc_arm64' + disabled: false + node: docker-xenial-chromium + display-name: 'Chromium apk Built with gcc 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' |