From e16f36e2fd26e4b13030d91727171ac7b9539145 Mon Sep 17 00:00:00 2001 From: Lu Hui Date: Wed, 6 Mar 2024 16:40:50 +0800 Subject: [PATCH] build more variant on github ci --- .../licheervnano-host-linux-amd64.yml | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/.github/workflows/licheervnano-host-linux-amd64.yml b/.github/workflows/licheervnano-host-linux-amd64.yml index a99de9f03..1b1522689 100644 --- a/.github/workflows/licheervnano-host-linux-amd64.yml +++ b/.github/workflows/licheervnano-host-linux-amd64.yml @@ -66,6 +66,36 @@ jobs: source build/cvisetup.sh defconfig sg2002_licheervnano_sd build_all + # build other variant + cp build/boards/sg200x/sg2002_licheervnano_sd/sg2002_licheervnano_sd_defconfig bak.config + + # 2.8inch + cat bak.config | sed -e 's/CONFIG_MIPI_PANEL_ZCT2133V1/CONFIG_MIPI_PANEL_ST7701_HD228001C31/g' > build/boards/sg200x/sg2002_licheervnano_sd/sg2002_licheervnano_sd_defconfig + defconfig sg2002_licheervnano_sd + clean_uboot + clean_opensbi + clean_fsbl + build_fsbl + cp -v cvi_mmf_sdk/install/soc_sg2002_licheervnano_sd/fip.bin cvi_mmf_sdk/install/soc_sg2002_licheervnano_sd/hd228001c31.bin + + # 3inch + cat bak.config | sed -e 's/CONFIG_MIPI_PANEL_ZCT2133V1/CONFIG_MIPI_PANEL_ST7701_D300FPC9307A/g' > build/boards/sg200x/sg2002_licheervnano_sd/sg2002_licheervnano_sd_defconfig + defconfig sg2002_licheervnano_sd + clean_uboot + clean_opensbi + clean_fsbl + build_fsbl + cp -v cvi_mmf_sdk/install/soc_sg2002_licheervnano_sd/fip.bin cvi_mmf_sdk/install/soc_sg2002_licheervnano_sd/d300fpc9307a.bin + + # 5inch + cat bak.config | sed -e 's/CONFIG_MIPI_PANEL_ZCT2133V1/CONFIG_MIPI_PANEL_ST7701_DXQ5D0019B480854/g' > build/boards/sg200x/sg2002_licheervnano_sd/sg2002_licheervnano_sd_defconfig + defconfig sg2002_licheervnano_sd + clean_uboot + clean_opensbi + clean_fsbl + build_fsbl + cp -v cvi_mmf_sdk/install/soc_sg2002_licheervnano_sd/fip.bin cvi_mmf_sdk/install/soc_sg2002_licheervnano_sd/dxq5d0019b480854.bin + popd - name: 'Upload Artifact' @@ -75,3 +105,4 @@ jobs: name: licheervnano-cvi-mmf-sdk-output-${{ env.BUILD_ID }} path: | cvi_mmf_sdk/install/soc_sg2002_licheervnano_sd/images/* + cvi_mmf_sdk/install/soc_sg2002_licheervnano_sd/*.bin