Skip to content

Commit

Permalink
Merge pull request #4 from tuxuser/feat/ci/build_matrix
Browse files Browse the repository at this point in the history
CI: Try buildmatrix {lgtv,webos}
  • Loading branch information
smx-smx authored Mar 9, 2022
2 parents d4aa805 + db4abac commit 9f5b1a1
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 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 @@ -12,20 +11,32 @@ linux_x64_task:
cpu: 8
memory: 8G
image: gcc:11.2


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
# 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 9f5b1a1

Please sign in to comment.