From 5926dce3bb2a7261dcfa2066cef39f0ce5b0d6db Mon Sep 17 00:00:00 2001 From: Silabs-ThieuVu <65759766+Silabs-ThieuVu@users.noreply.github.com> Date: Tue, 12 Nov 2024 14:09:42 +0700 Subject: [PATCH] Update 02-Run_Unit_Test.yaml --- .github/workflows/02-Run_Unit_Test.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/02-Run_Unit_Test.yaml b/.github/workflows/02-Run_Unit_Test.yaml index 0781680f..34faa73e 100644 --- a/.github/workflows/02-Run_Unit_Test.yaml +++ b/.github/workflows/02-Run_Unit_Test.yaml @@ -368,9 +368,9 @@ jobs: slc configuration -gcc=$TOOL_DIRS_RUN # make prepare echo "Run unit test for MG12" + cd build cmake --toolchain ../cmake/toolchain.cmake .. -DENABLE_UNIT_TESTING=ON -DBOARD_NAME=$BOARD_NAME_MG12 make unit_test_info -j4 - cd build slc signature trust -extpath $SDK_PATH_RUN/extension/$REPO_NAME cd ../test if [ -z "${{ github.event.inputs.ADAPTER_SN_MG12 }}" ]; then @@ -391,9 +391,6 @@ jobs: #echo 'bash execute_unit_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER "-DENABLE_CRC_USE_SW=ON -DENABLE_CAL_CRC_32=ON"' > log/Test_integration_$BOARD_NAME_GCC_5.txt echo "Run unit test for MG24" - cmake --toolchain ../cmake/toolchain.cmake .. -DENABLE_UNIT_TESTING=ON -DBOARD_NAME=$BOARD_NAME_MG24 - make unit_test_info -j4 - ls -la cd ${{ github.workspace }} ls -la # rm -rf build @@ -402,6 +399,8 @@ jobs: unzip ./build/firmware_mg24_gcc.zip -d ./build/ ls -R cd build + cmake --toolchain ../cmake/toolchain.cmake .. -DENABLE_UNIT_TESTING=ON -DBOARD_NAME=$BOARD_NAME_MG24 + make unit_test_info -j4 slc signature trust -extpath $SDK_PATH_RUN/extension/$REPO_NAME cd ../test if [ -z "${{ github.event.inputs.ADAPTER_SN_MG12 }}" ]; then