From 338141daef85ad366c04422a3088abc1e2db4c53 Mon Sep 17 00:00:00 2001 From: Silabs-ThieuVu <65759766+Silabs-ThieuVu@users.noreply.github.com> Date: Wed, 16 Oct 2024 10:13:18 +0700 Subject: [PATCH 01/10] Update 00-Check_Coding_Convention.yaml --- .github/workflows/00-Check_Coding_Convention.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/00-Check_Coding_Convention.yaml b/.github/workflows/00-Check_Coding_Convention.yaml index 4bf46b8f..369eaaa2 100644 --- a/.github/workflows/00-Check_Coding_Convention.yaml +++ b/.github/workflows/00-Check_Coding_Convention.yaml @@ -24,10 +24,20 @@ jobs: steps: - name: Trigger run: echo "Triggered by ${{github.event_name}} event" + + - name: Check Branch Input + run: | + if [ -z "${{ github.event.inputs.branch }}" ]; then + echo "Branch input is required." + exit 1 + fi + echo "Checkout branch ${{ github.event.inputs.branch }}" + - name: Checkout uses: actions/checkout@v4.1.7 with: - ref: "${{ github.event.inputs.branch }}" + ref: "${{ github.event.inputs.branch }}" + - name: Install python3.11 if: always() run: | From e308591c0038edfb703b4d9ea709cf66b79b1e20 Mon Sep 17 00:00:00 2001 From: Silabs-ThieuVu <65759766+Silabs-ThieuVu@users.noreply.github.com> Date: Wed, 16 Oct 2024 10:15:53 +0700 Subject: [PATCH 02/10] Update 01-Generate_Firmware.yaml --- .github/workflows/01-Generate_Firmware.yaml | 28 +++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.github/workflows/01-Generate_Firmware.yaml b/.github/workflows/01-Generate_Firmware.yaml index 0c8021cc..92fedf9f 100644 --- a/.github/workflows/01-Generate_Firmware.yaml +++ b/.github/workflows/01-Generate_Firmware.yaml @@ -44,8 +44,22 @@ jobs: ADAPTER_SN: 440133193 CHIP: EFR32MG24BXXXF1536 steps: + - name: Trigger + run: echo "Triggered by ${{github.event_name}} event" + + - name: Check Branch Input + run: | + if [ -z "${{ github.event.inputs.branch }}" ]; then + echo "Branch input is required." + exit 1 + fi + echo "Checkout branch ${{ github.event.inputs.branch }}" + - name: Checkout uses: actions/checkout@v4.1.7 + with: + ref: "${{ github.event.inputs.branch }}" + - name: Install Simplicity SDK if: always() run: | @@ -179,8 +193,22 @@ jobs: ADAPTER_SN: 440189400 CHIP: EFR32MG12 steps: + - name: Trigger + run: echo "Triggered by ${{github.event_name}} event" + + - name: Check Branch Input + run: | + if [ -z "${{ github.event.inputs.branch }}" ]; then + echo "Branch input is required." + exit 1 + fi + echo "Checkout branch ${{ github.event.inputs.branch }}" + - name: Checkout uses: actions/checkout@v4.1.7 + with: + ref: "${{ github.event.inputs.branch }}" + - name: Install Simplicity SDK if: always() run: | From a54bee95d37e8d54a8e00171faf9fa454e6cc20f Mon Sep 17 00:00:00 2001 From: Silabs-ThieuVu <65759766+Silabs-ThieuVu@users.noreply.github.com> Date: Wed, 16 Oct 2024 10:16:53 +0700 Subject: [PATCH 03/10] Update and rename 03-Run_Unit_Test.yaml to 02-Run_Unit_Test.yaml --- ...n_Unit_Test.yaml => 02-Run_Unit_Test.yaml} | 30 +++++++++++++++++-- 1 file changed, 27 insertions(+), 3 deletions(-) rename .github/workflows/{03-Run_Unit_Test.yaml => 02-Run_Unit_Test.yaml} (88%) diff --git a/.github/workflows/03-Run_Unit_Test.yaml b/.github/workflows/02-Run_Unit_Test.yaml similarity index 88% rename from .github/workflows/03-Run_Unit_Test.yaml rename to .github/workflows/02-Run_Unit_Test.yaml index 4976b24c..c4026288 100644 --- a/.github/workflows/03-Run_Unit_Test.yaml +++ b/.github/workflows/02-Run_Unit_Test.yaml @@ -1,4 +1,4 @@ -name: 03-Run Unit Test +name: 02-Run Unit Test on: pull_request: branches: @@ -35,10 +35,22 @@ jobs: START_ADDR_FLASH: 0x8000000 steps: + - name: Trigger + run: echo "Triggered by ${{github.event_name}} event" + + - name: Check Branch Input + run: | + if [ -z "${{ github.event.inputs.branch }}" ]; then + echo "Branch input is required." + exit 1 + fi + echo "Checkout branch ${{ github.event.inputs.branch }}" + - name: Checkout uses: actions/checkout@v4.1.7 with: - ref: "${{ github.event.inputs.branch }}" + ref: "${{ github.event.inputs.branch }}" + - name: Add extension run: | cd $SDK_PATH @@ -106,10 +118,22 @@ jobs: START_ADDR_FLASH: 0x0000000 steps: + - name: Trigger + run: echo "Triggered by ${{github.event_name}} event" + + - name: Check Branch Input + run: | + if [ -z "${{ github.event.inputs.branch }}" ]; then + echo "Branch input is required." + exit 1 + fi + echo "Checkout branch ${{ github.event.inputs.branch }}" + - name: Checkout uses: actions/checkout@v4.1.7 with: - ref: "${{ github.event.inputs.branch }}" + ref: "${{ github.event.inputs.branch }}" + - name: Add extension run: | cd $SDK_PATH From 08cf329663f23e8bafa1638467cc14e87a98a5c4 Mon Sep 17 00:00:00 2001 From: Silabs-ThieuVu <65759766+Silabs-ThieuVu@users.noreply.github.com> Date: Wed, 16 Oct 2024 10:17:44 +0700 Subject: [PATCH 04/10] Update and rename 04-Integration_Test.yaml to 03-Run_Integration_Test.yaml --- ...Test.yaml => 03-Run_Integration_Test.yaml} | 30 +++++++++++++++++-- 1 file changed, 27 insertions(+), 3 deletions(-) rename .github/workflows/{04-Integration_Test.yaml => 03-Run_Integration_Test.yaml} (89%) diff --git a/.github/workflows/04-Integration_Test.yaml b/.github/workflows/03-Run_Integration_Test.yaml similarity index 89% rename from .github/workflows/04-Integration_Test.yaml rename to .github/workflows/03-Run_Integration_Test.yaml index 605c3fa3..a01e2e0c 100644 --- a/.github/workflows/04-Integration_Test.yaml +++ b/.github/workflows/03-Run_Integration_Test.yaml @@ -1,4 +1,4 @@ -name: 04-Integration Test +name: 03-Run Integration Test on: pull_request: branches: @@ -35,10 +35,22 @@ jobs: START_ADDR_FLASH: 0x8000000 steps: + - name: Trigger + run: echo "Triggered by ${{github.event_name}} event" + + - name: Check Branch Input + run: | + if [ -z "${{ github.event.inputs.branch }}" ]; then + echo "Branch input is required." + exit 1 + fi + echo "Checkout branch ${{ github.event.inputs.branch }}" + - name: Checkout uses: actions/checkout@v4.1.7 with: - ref: "${{ github.event.inputs.branch }}" + ref: "${{ github.event.inputs.branch }}" + - name: Add extension run: | cd $SDK_PATH @@ -104,10 +116,22 @@ jobs: START_ADDR_FLASH: 0x0000000 steps: + - name: Trigger + run: echo "Triggered by ${{github.event_name}} event" + + - name: Check Branch Input + run: | + if [ -z "${{ github.event.inputs.branch }}" ]; then + echo "Branch input is required." + exit 1 + fi + echo "Checkout branch ${{ github.event.inputs.branch }}" + - name: Checkout uses: actions/checkout@v4.1.7 with: - ref: "${{ github.event.inputs.branch }}" + ref: "${{ github.event.inputs.branch }}" + - name: Add extension run: | cd $SDK_PATH From 435d3d64a746a1d0efb31142dd4ac52615e7b50e Mon Sep 17 00:00:00 2001 From: Silabs-ThieuVu <65759766+Silabs-ThieuVu@users.noreply.github.com> Date: Wed, 16 Oct 2024 10:29:14 +0700 Subject: [PATCH 05/10] Update 00-Check_Coding_Convention.yaml --- .../workflows/00-Check_Coding_Convention.yaml | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/00-Check_Coding_Convention.yaml b/.github/workflows/00-Check_Coding_Convention.yaml index 369eaaa2..2116adc0 100644 --- a/.github/workflows/00-Check_Coding_Convention.yaml +++ b/.github/workflows/00-Check_Coding_Convention.yaml @@ -27,16 +27,22 @@ jobs: - name: Check Branch Input run: | - if [ -z "${{ github.event.inputs.branch }}" ]; then - echo "Branch input is required." - exit 1 + if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then + if [ -z "${{ github.event.inputs.branch }}" ]; then + echo "Branch input is required for manual trigger." + exit 1 + else + echo "Checkout branch ${{ github.event.inputs.branch }}" + fi + else + # Extract branch name from github.ref + BRANCH_NAME="${{ github.ref }}" + BRANCH_NAME="${BRANCH_NAME##*/}" # This removes everything before the last '/' + echo "Checkout branch $BRANCH_NAME" fi - echo "Checkout branch ${{ github.event.inputs.branch }}" - name: Checkout - uses: actions/checkout@v4.1.7 - with: - ref: "${{ github.event.inputs.branch }}" + uses: actions/checkout@v4.1.7 - name: Install python3.11 if: always() From 13b801996f8e77f94207099420763cc8482a79c9 Mon Sep 17 00:00:00 2001 From: Silabs-ThieuVu <65759766+Silabs-ThieuVu@users.noreply.github.com> Date: Wed, 16 Oct 2024 10:30:29 +0700 Subject: [PATCH 06/10] Update 01-Generate_Firmware.yaml --- .github/workflows/01-Generate_Firmware.yaml | 42 +++++++++++++-------- 1 file changed, 27 insertions(+), 15 deletions(-) diff --git a/.github/workflows/01-Generate_Firmware.yaml b/.github/workflows/01-Generate_Firmware.yaml index 92fedf9f..bd2511b0 100644 --- a/.github/workflows/01-Generate_Firmware.yaml +++ b/.github/workflows/01-Generate_Firmware.yaml @@ -49,16 +49,22 @@ jobs: - name: Check Branch Input run: | - if [ -z "${{ github.event.inputs.branch }}" ]; then - echo "Branch input is required." - exit 1 + if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then + if [ -z "${{ github.event.inputs.branch }}" ]; then + echo "Branch input is required for manual trigger." + exit 1 + else + echo "Checkout branch ${{ github.event.inputs.branch }}" + fi + else + # Extract branch name from github.ref + BRANCH_NAME="${{ github.ref }}" + BRANCH_NAME="${BRANCH_NAME##*/}" # This removes everything before the last '/' + echo "Checkout branch $BRANCH_NAME" fi - echo "Checkout branch ${{ github.event.inputs.branch }}" - name: Checkout - uses: actions/checkout@v4.1.7 - with: - ref: "${{ github.event.inputs.branch }}" + uses: actions/checkout@v4.1.7 - name: Install Simplicity SDK if: always() @@ -198,17 +204,23 @@ jobs: - name: Check Branch Input run: | - if [ -z "${{ github.event.inputs.branch }}" ]; then - echo "Branch input is required." - exit 1 + if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then + if [ -z "${{ github.event.inputs.branch }}" ]; then + echo "Branch input is required for manual trigger." + exit 1 + else + echo "Checkout branch ${{ github.event.inputs.branch }}" + fi + else + # Extract branch name from github.ref + BRANCH_NAME="${{ github.ref }}" + BRANCH_NAME="${BRANCH_NAME##*/}" # This removes everything before the last '/' + echo "Checkout branch $BRANCH_NAME" fi - echo "Checkout branch ${{ github.event.inputs.branch }}" - name: Checkout - uses: actions/checkout@v4.1.7 - with: - ref: "${{ github.event.inputs.branch }}" - + uses: actions/checkout@v4.1.7 + - name: Install Simplicity SDK if: always() run: | From 094d5e90904f89ca88a1ec014397dbad3a660481 Mon Sep 17 00:00:00 2001 From: Silabs-ThieuVu <65759766+Silabs-ThieuVu@users.noreply.github.com> Date: Wed, 16 Oct 2024 10:31:13 +0700 Subject: [PATCH 07/10] Update 02-Run_Unit_Test.yaml --- .github/workflows/02-Run_Unit_Test.yaml | 44 ++++++++++++++++--------- 1 file changed, 28 insertions(+), 16 deletions(-) diff --git a/.github/workflows/02-Run_Unit_Test.yaml b/.github/workflows/02-Run_Unit_Test.yaml index c4026288..d551666b 100644 --- a/.github/workflows/02-Run_Unit_Test.yaml +++ b/.github/workflows/02-Run_Unit_Test.yaml @@ -40,17 +40,23 @@ jobs: - name: Check Branch Input run: | - if [ -z "${{ github.event.inputs.branch }}" ]; then - echo "Branch input is required." - exit 1 + if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then + if [ -z "${{ github.event.inputs.branch }}" ]; then + echo "Branch input is required for manual trigger." + exit 1 + else + echo "Checkout branch ${{ github.event.inputs.branch }}" + fi + else + # Extract branch name from github.ref + BRANCH_NAME="${{ github.ref }}" + BRANCH_NAME="${BRANCH_NAME##*/}" # This removes everything before the last '/' + echo "Checkout branch $BRANCH_NAME" fi - echo "Checkout branch ${{ github.event.inputs.branch }}" - name: Checkout - uses: actions/checkout@v4.1.7 - with: - ref: "${{ github.event.inputs.branch }}" - + uses: actions/checkout@v4.1.7 + - name: Add extension run: | cd $SDK_PATH @@ -123,17 +129,23 @@ jobs: - name: Check Branch Input run: | - if [ -z "${{ github.event.inputs.branch }}" ]; then - echo "Branch input is required." - exit 1 + if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then + if [ -z "${{ github.event.inputs.branch }}" ]; then + echo "Branch input is required for manual trigger." + exit 1 + else + echo "Checkout branch ${{ github.event.inputs.branch }}" + fi + else + # Extract branch name from github.ref + BRANCH_NAME="${{ github.ref }}" + BRANCH_NAME="${BRANCH_NAME##*/}" # This removes everything before the last '/' + echo "Checkout branch $BRANCH_NAME" fi - echo "Checkout branch ${{ github.event.inputs.branch }}" - name: Checkout - uses: actions/checkout@v4.1.7 - with: - ref: "${{ github.event.inputs.branch }}" - + uses: actions/checkout@v4.1.7 + - name: Add extension run: | cd $SDK_PATH From b45ce416bfa0b7f721f7187016dab2575c08d1bf Mon Sep 17 00:00:00 2001 From: Silabs-ThieuVu <65759766+Silabs-ThieuVu@users.noreply.github.com> Date: Wed, 16 Oct 2024 10:31:46 +0700 Subject: [PATCH 08/10] Update 03-Run_Integration_Test.yaml --- .../workflows/03-Run_Integration_Test.yaml | 44 ++++++++++++------- 1 file changed, 28 insertions(+), 16 deletions(-) diff --git a/.github/workflows/03-Run_Integration_Test.yaml b/.github/workflows/03-Run_Integration_Test.yaml index a01e2e0c..68b19c6b 100644 --- a/.github/workflows/03-Run_Integration_Test.yaml +++ b/.github/workflows/03-Run_Integration_Test.yaml @@ -40,17 +40,23 @@ jobs: - name: Check Branch Input run: | - if [ -z "${{ github.event.inputs.branch }}" ]; then - echo "Branch input is required." - exit 1 + if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then + if [ -z "${{ github.event.inputs.branch }}" ]; then + echo "Branch input is required for manual trigger." + exit 1 + else + echo "Checkout branch ${{ github.event.inputs.branch }}" + fi + else + # Extract branch name from github.ref + BRANCH_NAME="${{ github.ref }}" + BRANCH_NAME="${BRANCH_NAME##*/}" # This removes everything before the last '/' + echo "Checkout branch $BRANCH_NAME" fi - echo "Checkout branch ${{ github.event.inputs.branch }}" - name: Checkout - uses: actions/checkout@v4.1.7 - with: - ref: "${{ github.event.inputs.branch }}" - + uses: actions/checkout@v4.1.7 + - name: Add extension run: | cd $SDK_PATH @@ -121,17 +127,23 @@ jobs: - name: Check Branch Input run: | - if [ -z "${{ github.event.inputs.branch }}" ]; then - echo "Branch input is required." - exit 1 + if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then + if [ -z "${{ github.event.inputs.branch }}" ]; then + echo "Branch input is required for manual trigger." + exit 1 + else + echo "Checkout branch ${{ github.event.inputs.branch }}" + fi + else + # Extract branch name from github.ref + BRANCH_NAME="${{ github.ref }}" + BRANCH_NAME="${BRANCH_NAME##*/}" # This removes everything before the last '/' + echo "Checkout branch $BRANCH_NAME" fi - echo "Checkout branch ${{ github.event.inputs.branch }}" - name: Checkout - uses: actions/checkout@v4.1.7 - with: - ref: "${{ github.event.inputs.branch }}" - + uses: actions/checkout@v4.1.7 + - name: Add extension run: | cd $SDK_PATH From 36f95914d2c7488d09ac4d57671e0154a780209e Mon Sep 17 00:00:00 2001 From: Silabs-ThieuVu <65759766+Silabs-ThieuVu@users.noreply.github.com> Date: Wed, 16 Oct 2024 11:19:47 +0700 Subject: [PATCH 09/10] Update 02-Run_Unit_Test.yaml --- .github/workflows/02-Run_Unit_Test.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/02-Run_Unit_Test.yaml b/.github/workflows/02-Run_Unit_Test.yaml index d551666b..b1892e2c 100644 --- a/.github/workflows/02-Run_Unit_Test.yaml +++ b/.github/workflows/02-Run_Unit_Test.yaml @@ -87,11 +87,11 @@ jobs: mkdir log echo 'bash execute_unit_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER' > log/Test_integration_$BOARD_NAME_GCC_1.txt - echo 'bash execute_unit_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER "-DENABLE_CAL_CRC_32=ON"' > log/Test_integration_$BOARD_NAME_GCC_2.txt - echo 'bash execute_unit_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER "-DENABLE_CRC_USE_SW=ON"' > log/Test_integration_$BOARD_NAME_GCC_3.txt - echo 'bash execute_unit_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER "-DENABLE_CRC_USE_SW=ON -DENABLE_SW_CRC_TABLE=ON"' > log/Test_integration_$BOARD_NAME_GCC_4.txt - echo 'bash execute_unit_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER "-DENABLE_CRC_USE_SW=ON -DENABLE_SW_CRC_TABLE=ON -DENABLE_CAL_CRC_32=ON"' > log/Test_integration_$BOARD_NAME_GCC_5.txt - 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 'bash execute_unit_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER "-DENABLE_CAL_CRC_32=ON"' > log/Test_integration_$BOARD_NAME_GCC_2.txt + #echo 'bash execute_unit_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER "-DENABLE_CRC_USE_SW=ON"' > log/Test_integration_$BOARD_NAME_GCC_3.txt + #echo 'bash execute_unit_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER "-DENABLE_CRC_USE_SW=ON -DENABLE_SW_CRC_TABLE=ON"' > log/Test_integration_$BOARD_NAME_GCC_4.txt + #echo 'bash execute_unit_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER "-DENABLE_CRC_USE_SW=ON -DENABLE_SW_CRC_TABLE=ON -DENABLE_CAL_CRC_32=ON"' > log/Test_integration_$BOARD_NAME_GCC_5.txt + #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 - name: Upload artifact @@ -176,11 +176,11 @@ jobs: mkdir log echo 'bash execute_unit_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER' > log/Test_integration_$BOARD_NAME_GCC_1.txt - echo 'bash execute_unit_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER "-DENABLE_CAL_CRC_32=ON"' > log/Test_integration_$BOARD_NAME_GCC_2.txt - echo 'bash execute_unit_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER "-DENABLE_CRC_USE_SW=ON"' > log/Test_integration_$BOARD_NAME_GCC_3.txt - echo 'bash execute_unit_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER "-DENABLE_CRC_USE_SW=ON -DENABLE_SW_CRC_TABLE=ON"' > log/Test_integration_$BOARD_NAME_GCC_4.txt - echo 'bash execute_unit_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER "-DENABLE_CRC_USE_SW=ON -DENABLE_SW_CRC_TABLE=ON -DENABLE_CAL_CRC_32=ON"' > log/Test_integration_$BOARD_NAME_GCC_5.txt - 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 'bash execute_unit_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER "-DENABLE_CAL_CRC_32=ON"' > log/Test_integration_$BOARD_NAME_GCC_2.txt + #echo 'bash execute_unit_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER "-DENABLE_CRC_USE_SW=ON"' > log/Test_integration_$BOARD_NAME_GCC_3.txt + #echo 'bash execute_unit_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER "-DENABLE_CRC_USE_SW=ON -DENABLE_SW_CRC_TABLE=ON"' > log/Test_integration_$BOARD_NAME_GCC_4.txt + #echo 'bash execute_unit_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER "-DENABLE_CRC_USE_SW=ON -DENABLE_SW_CRC_TABLE=ON -DENABLE_CAL_CRC_32=ON"' > log/Test_integration_$BOARD_NAME_GCC_5.txt + #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 - name: Upload artifact uses: actions/upload-artifact@v4.3.4 From 07d9bb865f752a541e4eb3751c1f803fc4be794f Mon Sep 17 00:00:00 2001 From: Silabs-ThieuVu <65759766+Silabs-ThieuVu@users.noreply.github.com> Date: Wed, 16 Oct 2024 11:20:25 +0700 Subject: [PATCH 10/10] Update 03-Run_Integration_Test.yaml --- .github/workflows/03-Run_Integration_Test.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/03-Run_Integration_Test.yaml b/.github/workflows/03-Run_Integration_Test.yaml index 68b19c6b..9f937a31 100644 --- a/.github/workflows/03-Run_Integration_Test.yaml +++ b/.github/workflows/03-Run_Integration_Test.yaml @@ -87,10 +87,10 @@ jobs: mkdir log echo 'bash execute_integration_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER' > log/Test_integration_$BOARD_NAME_GCC_1.txt - echo 'bash execute_integration_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER "-DTEST_SECURE_PERIPHERALS_ENABLE=ON -DINTEGRATION_TEST_WDOG1_ENABLE=ON -DINTEGRATION_TEST_USE_MARCHX_DISABLE=ON -DENABLE_CAL_CRC_32=ON"' > log/Test_integration_$BOARD_NAME_GCC_2.txt - echo 'bash execute_integration_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER "-DTEST_SECURE_PERIPHERALS_ENABLE=ON -DINTEGRATION_TEST_WDOG1_ENABLE=ON -DINTEGRATION_TEST_USE_MARCHX_DISABLE=ON -DENABLE_CRC_USE_SW=ON"' > log/Test_integration_$BOARD_NAME_GCC_3.txt - echo 'bash execute_integration_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER "-DTEST_SECURE_PERIPHERALS_ENABLE=ON -DINTEGRATION_TEST_WDOG1_ENABLE=ON -DINTEGRATION_TEST_USE_MARCHX_DISABLE=ON -DENABLE_CRC_USE_SW=ON -DENABLE_SW_CRC_TABLE=ON"' > log/Test_integration_$BOARD_NAME_GCC_4.txt - echo 'bash execute_integration_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER "-DINTEGRATION_TEST_WDOG1_ENABLE=ON -DINTEGRATION_TEST_USE_MARCHX_DISABLE=ON -DENABLE_CRC_USE_SW=ON -DENABLE_SW_CRC_TABLE=ON -DENABLE_CAL_CRC_32=ON"' > log/Test_integration_$BOARD_NAME_GCC_5.txt + #echo 'bash execute_integration_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER "-DTEST_SECURE_PERIPHERALS_ENABLE=ON -DINTEGRATION_TEST_WDOG1_ENABLE=ON -DINTEGRATION_TEST_USE_MARCHX_DISABLE=ON -DENABLE_CAL_CRC_32=ON"' > log/Test_integration_$BOARD_NAME_GCC_2.txt + #echo 'bash execute_integration_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER "-DTEST_SECURE_PERIPHERALS_ENABLE=ON -DINTEGRATION_TEST_WDOG1_ENABLE=ON -DINTEGRATION_TEST_USE_MARCHX_DISABLE=ON -DENABLE_CRC_USE_SW=ON"' > log/Test_integration_$BOARD_NAME_GCC_3.txt + #echo 'bash execute_integration_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER "-DTEST_SECURE_PERIPHERALS_ENABLE=ON -DINTEGRATION_TEST_WDOG1_ENABLE=ON -DINTEGRATION_TEST_USE_MARCHX_DISABLE=ON -DENABLE_CRC_USE_SW=ON -DENABLE_SW_CRC_TABLE=ON"' > log/Test_integration_$BOARD_NAME_GCC_4.txt + #echo 'bash execute_integration_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER "-DINTEGRATION_TEST_WDOG1_ENABLE=ON -DINTEGRATION_TEST_USE_MARCHX_DISABLE=ON -DENABLE_CRC_USE_SW=ON -DENABLE_SW_CRC_TABLE=ON -DENABLE_CAL_CRC_32=ON"' > log/Test_integration_$BOARD_NAME_GCC_5.txt - name: Upload artifact uses: actions/upload-artifact@v4.3.4 @@ -174,10 +174,10 @@ jobs: mkdir log echo 'bash execute_integration_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER' > log/Test_integration_$BOARD_NAME_GCC_1.txt - echo 'bash execute_integration_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER "-DTEST_SECURE_PERIPHERALS_ENABLE=ON -DINTEGRATION_TEST_WDOG1_ENABLE=ON -DINTEGRATION_TEST_USE_MARCHX_DISABLE=ON -DENABLE_CAL_CRC_32=ON"' > log/Test_integration_$BOARD_NAME_GCC_2.txt - echo 'bash execute_integration_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER "-DTEST_SECURE_PERIPHERALS_ENABLE=ON -DINTEGRATION_TEST_WDOG1_ENABLE=ON -DINTEGRATION_TEST_USE_MARCHX_DISABLE=ON -DENABLE_CRC_USE_SW=ON"' > log/Test_integration_$BOARD_NAME_GCC_3.txt - echo 'bash execute_integration_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER "-DTEST_SECURE_PERIPHERALS_ENABLE=ON -DINTEGRATION_TEST_WDOG1_ENABLE=ON -DINTEGRATION_TEST_USE_MARCHX_DISABLE=ON -DENABLE_CRC_USE_SW=ON -DENABLE_SW_CRC_TABLE=ON"' > log/Test_integration_$BOARD_NAME_GCC_4.txt - echo 'bash execute_integration_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER "-DINTEGRATION_TEST_WDOG1_ENABLE=ON -DINTEGRATION_TEST_USE_MARCHX_DISABLE=ON -DENABLE_CRC_USE_SW=ON -DENABLE_SW_CRC_TABLE=ON -DENABLE_CAL_CRC_32=ON"' > log/Test_integration_$BOARD_NAME_GCC_5.txt + #echo 'bash execute_integration_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER "-DTEST_SECURE_PERIPHERALS_ENABLE=ON -DINTEGRATION_TEST_WDOG1_ENABLE=ON -DINTEGRATION_TEST_USE_MARCHX_DISABLE=ON -DENABLE_CAL_CRC_32=ON"' > log/Test_integration_$BOARD_NAME_GCC_2.txt + #echo 'bash execute_integration_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER "-DTEST_SECURE_PERIPHERALS_ENABLE=ON -DINTEGRATION_TEST_WDOG1_ENABLE=ON -DINTEGRATION_TEST_USE_MARCHX_DISABLE=ON -DENABLE_CRC_USE_SW=ON"' > log/Test_integration_$BOARD_NAME_GCC_3.txt + #echo 'bash execute_integration_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER "-DTEST_SECURE_PERIPHERALS_ENABLE=ON -DINTEGRATION_TEST_WDOG1_ENABLE=ON -DINTEGRATION_TEST_USE_MARCHX_DISABLE=ON -DENABLE_CRC_USE_SW=ON -DENABLE_SW_CRC_TABLE=ON"' > log/Test_integration_$BOARD_NAME_GCC_4.txt + #echo 'bash execute_integration_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER "-DINTEGRATION_TEST_WDOG1_ENABLE=ON -DINTEGRATION_TEST_USE_MARCHX_DISABLE=ON -DENABLE_CRC_USE_SW=ON -DENABLE_SW_CRC_TABLE=ON -DENABLE_CAL_CRC_32=ON"' > log/Test_integration_$BOARD_NAME_GCC_5.txt - name: Upload artifact uses: actions/upload-artifact@v4.3.4