From 00e869aaa04ba80f935f2f5af2458b75390e9a91 Mon Sep 17 00:00:00 2001 From: Huaqi Fang <578567190@qq.com> Date: Wed, 19 Jul 2023 13:07:55 +0800 Subject: [PATCH] ci: add clang toolchain in github action Signed-off-by: Huaqi Fang <578567190@qq.com> --- .github/workflows/build_sdk.yaml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_sdk.yaml b/.github/workflows/build_sdk.yaml index 9805b155..649d424d 100644 --- a/.github/workflows/build_sdk.yaml +++ b/.github/workflows/build_sdk.yaml @@ -81,14 +81,24 @@ jobs: cd .. echo "NUCLEI_TOOL_ROOT=$(pwd)/prebuilt_tools" > setup_config.sh - - name: Build SDK for Nuclei Eval SoC + - name: Build SDK for Nuclei Eval SoC Using GCC if: matrix.soc == 'evalsoc' run: | echo "Setup build environment" source setup.sh export APPCFG=tools/scripts/nsdk_cli/configs/application.json - export HWCFG=tools/scripts/nsdk_cli/configs/nuclei_fpga_eval_ci.json - export LOGDIR=logs/nuclei_fpga_eval_ci + export HWCFG=tools/scripts/nsdk_cli/configs/nuclei_fpga_eval_ci_qemu.json + export LOGDIR=logs/nuclei_fpga_eval_ci_gcc + python3 tools/scripts/nsdk_cli/nsdk_bench.py --appcfg $APPCFG --hwcfg $HWCFG --parallel="-j" --logdir $LOGDIR --run_target qemu --run + + - name: Build SDK for Nuclei Eval SoC Using LLVM + if: matrix.soc == 'evalsoc' + run: | + echo "Setup build environment" + source setup.sh + export APPCFG=tools/scripts/nsdk_cli/configs/application.json + export HWCFG=tools/scripts/nsdk_cli/configs/nuclei_fpga_eval_ci_qemu_llvm.json + export LOGDIR=logs/nuclei_fpga_eval_ci_llvm python3 tools/scripts/nsdk_cli/nsdk_bench.py --appcfg $APPCFG --hwcfg $HWCFG --parallel="-j" --logdir $LOGDIR --run_target qemu --run - name: Build SDK for GD32VF103 SoC