-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuildspec.yml
47 lines (41 loc) · 830 Bytes
/
buildspec.yml
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
version: 0.2
batch:
build-graph:
- identifier: raspberrypi4
env:
variables:
PRODUCT: raspberrypi4
- identifier: raspberrypi3
env:
variables:
PRODUCT: raspberrypi3
- identifier: rockpi4
env:
variables:
PRODUCT: rockpi4
- identifier: tinkerboard
env:
variables:
PRODUCT: tinkerboard
env:
shell: bash
variables:
SITE: aws
LANG: en_US.UTF-8
WORKON_HOME: /home/yoctouser/.venvs
run-as: yoctouser
phases:
install:
run-as: root
commands:
- apt update -y && apt install -y python3-pip
- pip3 install pipenv
build:
commands:
- . ./init-build-env --product=$PRODUCT --site=$SITE --build=build
- bitbake all-targets
artifacts:
base-directory: build/deploy
files:
- "**/images/**/*"
name: $PRODUCT