ci: add lc4a mainline dt name support
authorHan Gao <gaohan@iscas.ac.cn>
Mon, 22 Jan 2024 15:27:00 +0000 (23:27 +0800)
committerHan Gao/Revy/Rabenda <rabenda.cn@gmail.com>
Tue, 23 Jan 2024 16:00:18 +0000 (00:00 +0800)
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
.github/workflows/build.yml

index bfa9f9987a5564f2ee857d76db662636504ea6d6..9ba95cfa8217fe83b8b2265f719ce9c4d73ad6c5 100644 (file)
@@ -103,6 +103,18 @@ jobs:
                 sed -i 's#thead/light-lpi4a-16gb.dtb#thead/th1520-lichee-pi-4a-16g.dtb#' .config
                 make -j$(nproc)
                 find . -name "u-boot-with-spl.bin" | xargs -I{} cp -av {} ${GITHUB_WORKSPACE}/output/u-boot-with-spl-lpi4a-16g-main.bin
+
+                make clean
+                make light_lpi4a_cluster_defconfig
+                sed -i 's#thead/light-lpi4a-cluster.dtb#thead/th1520-lichee-cluster-4a.dtb#' .config
+                make -j$(nproc)
+                find . -name "u-boot-with-spl.bin" | xargs -I{} cp -av {} ${GITHUB_WORKSPACE}/output/u-boot-with-spl-lc4a-main.bin
+
+                make clean
+                make light_lpi4a_cluster_16g_defconfig
+                sed -i 's#thead/light-lpi4a-cluster-16gb.dtb#thead/th1520-lichee-cluster-4a-16g.dtb#' .config
+                make -j$(nproc)
+                find . -name "u-boot-with-spl.bin" | xargs -I{} cp -av {} ${GITHUB_WORKSPACE}/output/u-boot-with-spl-lc4a-16g-main.bin
               popd
               tree ${GITHUB_WORKSPACE}/output