From b0b40ed45c8d92ced70b236d45cf873fae4a6665 Mon Sep 17 00:00:00 2001 From: Supper Thomas <78900636@qq.com> Date: Mon, 17 Mar 2025 15:46:46 +0800 Subject: [PATCH] =?UTF-8?q?[github/action]=20=E6=B7=BB=E5=8A=A0scons?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E7=BC=96=E8=AF=91=E6=97=B6=E9=97=B4=E7=9A=84?= =?UTF-8?q?=E5=91=BD=E4=BB=A4=20(#10114)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [github/action] 添加scons显示编译时间的命令 * [bsp/pico] 删除ci 耗时的config,在F412中已验证 * [bsp/f412] 这个编译需要3分钟,不合理,先从ci中删除 --- .../.ci/attachconfig/rtduino/dataprocessing.attach | 6 ------ .../.ci/attachconfig/rtduino/dataprocessing.attach | 6 ------ tools/ci/bsp_buildings.py | 2 +- 3 files changed, 1 insertion(+), 13 deletions(-) delete mode 100644 bsp/raspberry-pico/.ci/attachconfig/rtduino/dataprocessing.attach delete mode 100644 bsp/stm32/stm32f412-st-nucleo/.ci/attachconfig/rtduino/dataprocessing.attach diff --git a/bsp/raspberry-pico/.ci/attachconfig/rtduino/dataprocessing.attach b/bsp/raspberry-pico/.ci/attachconfig/rtduino/dataprocessing.attach deleted file mode 100644 index d833d95631..0000000000 --- a/bsp/raspberry-pico/.ci/attachconfig/rtduino/dataprocessing.attach +++ /dev/null @@ -1,6 +0,0 @@ -CONFIG_BSP_USING_ARDUINO=y - -CONFIG_PKG_USING_ARDUINO_ARDUINOJSON=y -CONFIG_PKG_USING_ARDUINO_KALMANFILTER=y -CONFIG_PKG_USING_ARDUINO_TENSORFLOW_LITE_MICRO=y -CONFIG_PKG_USING_ARDUINO_TENSORFLOW_LITE_MICRO_EXAMPLE_HELLO_WORLD=y diff --git a/bsp/stm32/stm32f412-st-nucleo/.ci/attachconfig/rtduino/dataprocessing.attach b/bsp/stm32/stm32f412-st-nucleo/.ci/attachconfig/rtduino/dataprocessing.attach deleted file mode 100644 index d833d95631..0000000000 --- a/bsp/stm32/stm32f412-st-nucleo/.ci/attachconfig/rtduino/dataprocessing.attach +++ /dev/null @@ -1,6 +0,0 @@ -CONFIG_BSP_USING_ARDUINO=y - -CONFIG_PKG_USING_ARDUINO_ARDUINOJSON=y -CONFIG_PKG_USING_ARDUINO_KALMANFILTER=y -CONFIG_PKG_USING_ARDUINO_TENSORFLOW_LITE_MICRO=y -CONFIG_PKG_USING_ARDUINO_TENSORFLOW_LITE_MICRO_EXAMPLE_HELLO_WORLD=y diff --git a/tools/ci/bsp_buildings.py b/tools/ci/bsp_buildings.py index 99ce680e8c..8b182df63d 100644 --- a/tools/ci/bsp_buildings.py +++ b/tools/ci/bsp_buildings.py @@ -67,7 +67,7 @@ def build_bsp(bsp, scons_args=''): nproc = multiprocessing.cpu_count() os.chdir(rtt_root) - cmd = f'scons -C bsp/{bsp} -j{nproc} {scons_args}' + cmd = f'scons -C bsp/{bsp} -j{nproc} {scons_args} --debug=time' __, res = run_cmd(cmd, output_info=True) if res != 0: