aboutsummaryrefslogtreecommitdiff
path: root/android-chromium-gcc-armv7.yaml
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2016-05-11 14:43:08 +0530
committerFathi Boudra <fathi.boudra@linaro.org>2016-05-11 16:41:44 +0300
commit823f6e7f4b2ebc4d6d61eef4672169e332afb983 (patch)
tree8b5f793b1ec3ea45714d0525a8b29e7b9849a8e1 /android-chromium-gcc-armv7.yaml
parent2e939fdff66f253e9b8a51274a0afe8e1e280368 (diff)
downloadconfigs-823f6e7f4b2ebc4d6d61eef4672169e332afb983.tar.gz
android-chromium-gcc-armv7: update with working ci configuration
Change-Id: I55be5f555e25dec527a65e70c07de86692b01417 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
Diffstat (limited to 'android-chromium-gcc-armv7.yaml')
-rw-r--r--android-chromium-gcc-armv7.yaml28
1 files changed, 27 insertions, 1 deletions
diff --git a/android-chromium-gcc-armv7.yaml b/android-chromium-gcc-armv7.yaml
index 26d1c091d..b955b11e8 100644
--- a/android-chromium-gcc-armv7.yaml
+++ b/android-chromium-gcc-armv7.yaml
@@ -15,6 +15,10 @@
days-to-keep: 60
num-to-keep: 60
artifact-num-to-keep: 1
+ parameters:
+ - string:
+ name: ARGS
+ default: 'gcc_arm'
disabled: false
node: docker-xenial-chromium
display-name: 'Chromium apk Built with gcc for ARMv7'
@@ -27,10 +31,32 @@
- 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'
+ artifacts: '*.xml, *.json'
- logparser:
parse-rules: 'Android Build'
unstable-on-warning: false