-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update unit test and integration test workflows
- Loading branch information
Bich Vu Thi Ngoc
committed
Oct 9, 2024
1 parent
9e36c74
commit 73f3a7d
Showing
3 changed files
with
8 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,14 +27,10 @@ jobs: | |
TOOL_DIRS: arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi/bin | ||
COMPILER: GCC | ||
TOOL_CHAINS: GCC | ||
PLATFORM: MG12 | ||
APP_TYPE: SecureApp | ||
SECURITY: APP_SECURE=false | ||
COMMAND: all | ||
TASK: gen-only | ||
COMPONENT: all | ||
ADAPTER_SN: 440133193 | ||
CHIP: EFR32MG24BXXXF1536 | ||
OPTION_INTEGRATION_TEST: -DENABLE_CAL_CRC_32=ON -DENABLE_CRC_USE_SW=ON -DTEST_SECURE_PERIPHERALS_ENABLE=ON -DINTEGRATION_TEST_WDOG1_ENABLE=ON - INTEGRATION_TEST_USE_MARCHX_DISABLE=ON | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
@@ -145,7 +141,7 @@ jobs: | |
export LST_PATH=$PWD/test/integration_test/build/brd4187c/integration_test_iec60730_watchdog/S | ||
export JLINK_PATH=/opt/SEGGER/JLink/libjlinkarm.so | ||
export HOST_IP=192.168.1.69 | ||
bash execute_test.sh $BOARD_NAME $TASK $COMPONENT $ADAPTER_SN $GCC $OPTION_INTEGRATION_TEST | ||
bash execute_integration_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER | ||
- name: Upload firmware | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -166,13 +162,10 @@ jobs: | |
COMPILER: GCC | ||
TOOL_CHAINS: GCC | ||
PLATFORM: MG12 | ||
APP_TYPE: SecureApp | ||
SECURITY: APP_SECURE=false | ||
COMMAND: all | ||
TASK: gen-only | ||
COMPONENT: all | ||
ADAPTER_SN: 440189400 | ||
CHIP: EFR32MG12 | ||
OPTION_INTEGRATION_TEST: -DENABLE_CAL_CRC_32=ON -DENABLE_CRC_USE_SW=ON -DTEST_SECURE_PERIPHERALS_ENABLE=ON -DINTEGRATION_TEST_WDOG1_ENABLE=ON - INTEGRATION_TEST_USE_MARCHX_DISABLE=ON | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
@@ -283,7 +276,7 @@ jobs: | |
export LST_PATH=$PWD/test/integration_test/build/brd4187c/integration_test_iec60730_watchdog/S | ||
export JLINK_PATH=/opt/SEGGER/JLink/libjlinkarm.so | ||
export HOST_IP=192.168.1.69 | ||
bash execute_test.sh $BOARD_NAME $TASK $COMPONENT $ADAPTER_SN $GCC $OPTION_INTEGRATION_TEST | ||
bash execute_integration_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER | ||
- name: Upload firmware | ||
uses: actions/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters