Update unit_test_auto.yaml #9
Workflow file for this run
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
name: Unit Tests Auto Trigger | |
on: | |
push: | |
jobs: | |
job1: | |
name: Unit test | |
runs-on: [self-hosted, ds-sqa-hn-003] | |
permissions: | |
contents: read | |
pull-requests: write | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Unit Testing | |
run: | | |
export TOOL_DIRS=~/SimplicityStudio_v5/developer/toolchains/gnu_arm/12.2.rel1_2023.7/bin | |
export SDK_PATH=~/SimplicityStudio/SDKs/gecko_sdk | |
export TOOL_CHAINS=GCC | |
export START_ADDR_FLASH=0x8000000 | |
make prepare | |
cd build | |
cmake --toolchain ../cmake/toolchain.cmake .. -DENABLE_UNIT_TESTING=ON -DBOARD_NAME=MG12 | |
make unit_tests -j4 | |