ci: add ccache for linux build

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
default-cape-symlinks
Robert Nelson 1 year ago
parent ef251918b3
commit 94de856819

@ -13,6 +13,7 @@ cache:
paths: paths:
- mirror/x86_64-gcc-*-linux.tar.xz - mirror/x86_64-gcc-*-linux.tar.xz
- deploy/*.tar.xz - deploy/*.tar.xz
- ccache.tar.gz
build: build:
tags: tags:
@ -22,7 +23,13 @@ build:
- ./01_git_sync.sh - ./01_git_sync.sh
- ./02_build_hss.sh - ./02_build_hss.sh
- ./03_build_u-boot.sh - ./03_build_u-boot.sh
- mkdir -p /root/.cache/ccache/ || true
- ccache -s
- tar -xf ccache.tar.gz -C / || true
- ccache -s
- ./04_build_linux.sh - ./04_build_linux.sh
- ccache -s
- tar -cf ccache.tar.gz /root/.cache/ccache/
- ./05_generate_payload.bin.sh - ./05_generate_payload.bin.sh
- ./06_generate_ubuntu_console_root.sh - ./06_generate_ubuntu_console_root.sh
- ./07_create_sdcard_img.sh - ./07_create_sdcard_img.sh

Loading…
Cancel
Save