Prechádzať zdrojové kódy

[github/action] 添加scons显示编译时间的命令 (#10114)

* [github/action] 添加scons显示编译时间的命令

* [bsp/pico] 删除ci 耗时的config,在F412中已验证

* [bsp/f412] 这个编译需要3分钟,不合理,先从ci中删除
Supper Thomas 1 mesiac pred
rodič
commit
b0b40ed45c

+ 0 - 6
bsp/raspberry-pico/.ci/attachconfig/rtduino/dataprocessing.attach

@@ -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

+ 0 - 6
bsp/stm32/stm32f412-st-nucleo/.ci/attachconfig/rtduino/dataprocessing.attach

@@ -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

+ 1 - 1
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: