Skip to content

Commit

Permalink
Update unit_test_auto.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
silabs-bingocth authored Oct 6, 2024
1 parent 8c23f5d commit bfc5879
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/unit_test_auto.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
name: Unit Tests Auto Trigger
on:
on:
push:

branches:
- '*' # matches every branch that doesn't contain a '/'
- '*/*' # matches every branch containing a single '/'
- '**' # matches every branch
jobs:
job1:
name: Unit test
runs-on: [self-hosted, ds-sqa-hn-003]
runs-on: [self-hosted, ds-sqa-hn-iec]
permissions:
contents: read
pull-requests: write
Expand All @@ -18,8 +21,13 @@ jobs:
export SDK_PATH=~/SimplicityStudio/SDKs/gecko_sdk
export TOOL_CHAINS=GCC
export START_ADDR_FLASH=0x8000000
export CHIP=EFR32MG24BXXXF1536 ADAPTER_SN=440133193
export LST_PATH=~/devs_cooper_lighting_safty_lib/build/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
make prepare
cd build
cmake --toolchain ../cmake/toolchain.cmake .. -DENABLE_UNIT_TESTING=ON -DBOARD_NAME=MG12
make unit_tests -j4
cmake --toolchain ../cmake/toolchain.cmake .. -DENABLE_UNIT_TESTING=ON -DBOARD_NAME=brd4187c
make unit_test_info -j4
bash execute_unit_test.sh brd4187c all all $ADAPTER_SN GCC

0 comments on commit bfc5879

Please sign in to comment.