blob: 58f6acc1da5d519c1f04adfe03bcf386ed589a9a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
metadata:
name: build
maintainer:
- Andrew McDermott <andrew.mcdermott@linaro.org>
version: 1.0
format: "Lava-Test-Shell Test Definition 1.0"
description: Build Go (golang) for AArch64
devices:
- mustang
environment:
- lava-test-shell
run:
steps:
- 'resolvconf -u'
- 'sudo dpkg --add-architecture armhf'
- 'sudo apt-get update -qq'
- 'sudo apt-get install -qqy build-essential'
- 'type -p git || sudo apt-get install -y git'
- 'type -p pkg-config || sudo apt-get install -y pkg-config'
- 'type -p arm-linux-gnueabihf-gcc || sudo apt-get install -y gcc-arm-linux-gnueabihf libc6-dev-armhf-cross'
- 'export LAVA_USE_PREBUILT_BOOTSTRAP_COMPILER'
- 'export LAVA_URL_PREBUILT_BOOTSTRAP_COMPILER'
- 'export LAVA_SLEEP_FOR_ACCESS'
- 'env'
- './build-arm64-go.sh'
- 'lava-test-run-attach go.tar.gz'
- 'sleep ${LAVA_SLEEP_FOR_ACCESS}'
|