|
|
@ -1,4 +1,9 @@
|
|
|
|
image: robertcnelson/debian-bookworm-slim-riscv:latest
|
|
|
|
image: robertcnelson/beagle-devscripts-debian-12-arm64:latest
|
|
|
|
|
|
|
|
# https://git.beagleboard.org/beagleboard/ci-docker-images
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
|
|
|
|
- apt-get update -q
|
|
|
|
|
|
|
|
- apt-get install -y -q bc bison cpio debhelper flex kmod libelf-dev libssl-dev lz4
|
|
|
|
|
|
|
|
|
|
|
|
variables:
|
|
|
|
variables:
|
|
|
|
FF_USE_FASTZIP: "true"
|
|
|
|
FF_USE_FASTZIP: "true"
|
|
|
@ -8,7 +13,7 @@ cache:
|
|
|
|
key: "$CI_PROJECT_NAME"
|
|
|
|
key: "$CI_PROJECT_NAME"
|
|
|
|
paths:
|
|
|
|
paths:
|
|
|
|
- mirror/x86_64-gcc-*-linux.tar.xz
|
|
|
|
- mirror/x86_64-gcc-*-linux.tar.xz
|
|
|
|
- ccache.tar.gz
|
|
|
|
- ccache.tar.lz4
|
|
|
|
|
|
|
|
|
|
|
|
build:
|
|
|
|
build:
|
|
|
|
tags:
|
|
|
|
tags:
|
|
|
@ -20,12 +25,11 @@ build:
|
|
|
|
- ./02_build_hss.sh
|
|
|
|
- ./02_build_hss.sh
|
|
|
|
- ./03_build_u-boot.sh
|
|
|
|
- ./03_build_u-boot.sh
|
|
|
|
- mkdir -p /root/.cache/ccache/ || true
|
|
|
|
- mkdir -p /root/.cache/ccache/ || true
|
|
|
|
- ccache -s
|
|
|
|
- time tar --use-compress-program=lz4 -xf ccache.tar.lz4 -C / || true
|
|
|
|
- tar -xf ccache.tar.gz -C / || true
|
|
|
|
|
|
|
|
- ccache -s
|
|
|
|
- ccache -s
|
|
|
|
- ./04_build_linux.sh
|
|
|
|
- ./04_build_linux.sh
|
|
|
|
- ccache -s
|
|
|
|
- ccache -s
|
|
|
|
- tar -cf ccache.tar.gz /root/.cache/ccache/
|
|
|
|
- time tar --use-compress-program=lz4 -cf ccache.tar.lz4 /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
|
|
|
|