From d0e1062267ea6096f504baa7491db57dabefa8b3 Mon Sep 17 00:00:00 2001 From: Huaqi Fang <578567190@qq.com> Date: Wed, 19 Jul 2023 12:06:40 +0800 Subject: [PATCH] ci: optimize github ci workflow, show gcc/qemu version Signed-off-by: Huaqi Fang <578567190@qq.com> --- .github/workflows/build_sdk.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_sdk.yaml b/.github/workflows/build_sdk.yaml index 33c4490d..c984b1a5 100644 --- a/.github/workflows/build_sdk.yaml +++ b/.github/workflows/build_sdk.yaml @@ -63,17 +63,20 @@ jobs: cd prebuilt_tools toolzip=nuclei_riscv_newlibc_prebuilt_linux64_nuclei-2023.07.19.tar.bz2 if [ ! -e $toolzip ] ; then - wget --no-check-certificate https://nucleisys.com/upload/files/toochain/gcc/$toolzip + wget -q --no-check-certificate https://nucleisys.com/upload/files/toochain/gcc/$toolzip fi tar -xjf $toolzip toolzip=nuclei_qemu-2023.07.19-linux.zip if [ ! -e $toolzip ] ; then - wget --no-check-certificate https://nucleisys.com/upload/files/toochain/qemu/$toolzip + wget -q --no-check-certificate https://nucleisys.com/upload/files/toochain/qemu/$toolzip fi - unzip $toolzip + unzip -q $toolzip if [ -d linux_qemu ] ; then mv linux_qemu qemu fi + echo "Check gcc and qemu version" + ./qemu/bin/qemu-system-riscv32 --version + ./gcc/bin/riscv64-unknown-elf-gcc -v cd .. echo "NUCLEI_TOOL_ROOT=$(pwd)/prebuilt_tools" > setup_config.sh