-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.cirrus.yml
52 lines (43 loc) · 1.02 KB
/
.cirrus.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
48
49
50
51
52
env:
CIRRUS_CLONE_DEPTH: 1
MSBUILDDISABLENODEREUSE: 1
BR2_CCACHE: y
BR2_CCACHE_INITIAL_SETUP:
BR2_CCACHE_USE_BASEDIR: y
linux_x64_task:
timeout_in: 90m
container:
cpu: 8
memory: 10G
image: gcc:10.4-buster
matrix:
- name: WebOS config
env:
TOOLCHAIN_TARGET: webos
DEFCONFIG: webos_tv_defconfig
BR2_CCACHE_DIR: ${HOME}/.buildroot-ccache-webos
- name: LGTV config
env:
TOOLCHAIN_TARGET: lgtv
DEFCONFIG: lgtv_defconfig
BR2_CCACHE_DIR: ${HOME}/.buildroot-ccache-lgtv
prepare_script:
- apt-get update -qq
- apt-get install -y cpio rsync bc
- make ${DEFCONFIG}
dl_cache:
folder: dl
# reupload the cache if content changed
reupload_on_changes: true
compile_cache:
folder: ${BR2_CCACHE_DIR}
# reupload the cache if content changed
reupload_on_changes: true
build_script:
- make sdk
always:
upload_caches:
- compile
- dl
sdk_artifacts:
path: output/images/*_sdk-buildroot.tar.gz