aboutsummaryrefslogtreecommitdiff
path: root/96boards-hikey-uefi.yaml
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2019-04-19 15:27:31 +0530
committerRiku Voipio <riku.voipio@linaro.org>2019-05-03 09:18:42 +0300
commit217a75135db924a492152d117e2c90b1800969c5 (patch)
treed2b1d6bf21f910a143f0fbd51d4a1dbb4b49ab46 /96boards-hikey-uefi.yaml
parente7296994681e5ed2da84e521239a2a46df795228 (diff)
Cleanup: remove all deleted jobs
Change-Id: I59a2856f5d246141f169efb6f4ba2a19a3a9a6d7 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
Diffstat (limited to '96boards-hikey-uefi.yaml')
-rw-r--r--96boards-hikey-uefi.yaml114
1 files changed, 0 insertions, 114 deletions
diff --git a/96boards-hikey-uefi.yaml b/96boards-hikey-uefi.yaml
deleted file mode 100644
index c29199853a..0000000000
--- a/96boards-hikey-uefi.yaml
+++ /dev/null
@@ -1,114 +0,0 @@
-- job:
- name: 96boards-hikey-uefi
- project-type: freestyle
- defaults: global
- logrotate:
- daysToKeep: 30
- numToKeep: 30
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- - job-workspace
- disabled: true
- node: docker-jessie-amd64
- display-name: 'DELETE ME'
- scm:
- - git:
- url: https://github.com/96boards-hikey/edk2.git
- refspec: +refs/heads/hikey:refs/remotes/origin/hikey
- name: origin
- branches:
- - refs/heads/hikey
- basedir: linaro-edk2
- skip-tag: true
- shallow-clone: true
- clean: true
- wipe-workspace: false
- wrappers:
- - timestamps
- - build-name:
- name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
- builders:
- - linaro-publish-token
- - shell: |
- #!/bin/bash
-
- set -ex
-
- trap cleanup_exit INT TERM EXIT
-
- cleanup_exit()
- {
- cd ${WORKSPACE}
- rm -rf arm64-tc
- rm -rf arm-trusted-firmware
- rm -rf uefi-tools
- rm -rf l-loader
- rm -rf out
- }
-
- sudo apt-get update
- sudo apt-get install -y python-requests python-crypto
-
- # Use pre-installed linaro toolchain
- export PATH="${HOME}/srv/toolchain/arm-tc-15.02/bin:${HOME}/srv/toolchain/arm64-tc-15.02/bin:$PATH"
- export CROSS_COMPILE_ta_arm64=aarch64-linux-gnu-
- export CROSS_COMPILE_ta_arm32=arm-linux-gnueabihf-
-
- # Check out arm-trusted-firmware
- git clone -b hikey --depth 1 https://github.com/96boards-hikey/arm-trusted-firmware.git
-
- # Check out optee_os
- git clone --depth 1 https://github.com/OP-TEE/optee_os.git
-
- git clone git://git.linaro.org/uefi/uefi-tools.git
-
- export AARCH64_TOOLCHAIN=GCC49
- export EDK2_DIR=${WORKSPACE}/linaro-edk2
- export UEFI_TOOLS_DIR=${WORKSPACE}/uefi-tools
- export JENKINS_WORKSPACE=${WORKSPACE}
- unset WORKSPACE
-
- cd ${EDK2_DIR}
- ${UEFI_TOOLS_DIR}/uefi-build.sh -b RELEASE -a ../arm-trusted-firmware -s ../optee_os hikey
-
- unset WORKSPACE
- export WORKSPACE=${JENKINS_WORKSPACE}
-
- cd ${WORKSPACE}
- mkdir -p out/optee
- cp -a ${EDK2_DIR}/Build/HiKey/RELEASE_GCC49/FV/*.bin out/
- cp -a ${EDK2_DIR}/Build/HiKey/RELEASE_GCC49/AARCH64/AndroidFastbootApp.efi out/
- # Don't ship BL33_AP_UEFI.fd, mcuimage.bin and tee.bin
- # (already included in the firmware image package - fip)
- #cp -a ${EDK2_DIR}/Build/HiKey/RELEASE_GCC49/FV/*.fd out/
- #cp -a ${EDK2_DIR}/HisiPkg/HiKeyPkg/NonFree/mcuimage.bin out/
- rm -f out/tee.bin
-
- # Ship nvme.img with UEFI binaries for convenience
- dd if=/dev/zero of=out/nvme.img bs=128 count=1024
-
- # Ship files needed to build OP-TEE test suite
- tar -C ${WORKSPACE}/optee_os/out -acvf \
- ${WORKSPACE}/out/optee/arm-plat-hikey.tar.xz \
- arm-plat-hikey/export-ta_arm64 arm-plat-hikey/export-ta_arm32
-
- git clone --depth 1 https://github.com/96boards-hikey/l-loader.git
- cd l-loader
- ln -s ${WORKSPACE}/out/bl1.bin
- make
- cp -a l-loader.bin ptable*.img ${WORKSPACE}/out/
- cd ${WORKSPACE}
-
- # Publish
- test -d ${HOME}/bin || mkdir ${HOME}/bin
- wget 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 \
- --server ${PUBLISH_SERVER} \
- --link-latest \
- out 96boards/hikey/linaro/uefi/${BUILD_NUMBER}
- publishers:
- - email:
- recipients: 'fathi.boudra@linaro.org'