Skip to content

Commit

Permalink
CI: Try buildmatrix {lgtv,webos}
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxuser committed Mar 8, 2022
1 parent ee27a2a commit c878560
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ env:
CIRRUS_CLONE_DEPTH: 1
MSBUILDDISABLENODEREUSE: 1
BR2_CCACHE: y
BR2_CCACHE_DIR: ${HOME}/.buildroot-ccache
BR2_CCACHE_INITIAL_SETUP:
BR2_CCACHE_USE_BASEDIR: y

Expand All @@ -13,19 +12,31 @@ linux_x64_task:
memory: 8G
image: gcc:11.2

matrix:
- name: LGTV config
env:
TOOLCHAIN_TARGET: webos
DEFCONFIG: webos_tv_defconfig
BR2_CCACHE_DIR: ${HOME}/.buildroot-ccache-webos

- name: WebOS 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
# select webos_tv config
- make lgtv_defconfig
- make ${DEFCONFIG}

dl_cache:
folder: dl
# reupload the cache if content changed
reupload_on_changes: true

compile_cache:
folder: ${HOME}/.buildroot-ccache
folder: ${BR2_CCACHE_DIR}
# reupload the cache if content changed
reupload_on_changes: true

Expand Down

0 comments on commit c878560

Please sign in to comment.