Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 03-Run_Unit_Test.yaml #29

Merged
merged 2 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/03-Run_Unit_Test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
REPO_BRANCH: ${{ github.event.inputs.branch }}
REPO_NAME: ${{ github.repository }}
JLINK_PATH: /opt/SEGGER/JLink/libjlinkarm.so
SDK_PATH: ~/SimplicityStudio/SDKs/gecko_sdk
SDK_PATH: $HOME/SimplicityStudio/SDKs/gecko_sdk
jobs:
job1:
name: Unit test for mg24 with gcc
Expand All @@ -31,7 +31,7 @@ jobs:
COMPONENTS: all
ADAPTER_SN: 440111030
CHIP: EFR32MG24BXXXF1536
TOOL_DIRS: ~/SimplicityStudio-5/SimplicityStudio_v5/developer/toolchains/gnu_arm/12.2.rel1_2023.7/bin
TOOL_DIRS: $HOME/SimplicityStudio-5/SimplicityStudio_v5/developer/toolchains/gnu_arm/12.2.rel1_2023.7/bin
START_ADDR_FLASH: 0x8000000

steps:
Expand All @@ -51,10 +51,10 @@ jobs:
ls -la
- name: Run test
run: |
export PATH=$PATH:~/SimplicityStudio-5/SimplicityStudio_v5/developer/adapter_packs/commander
export PATH=$PATH:~/slc_cli
export PATH=$PATH:$HOME/SimplicityStudio-5/SimplicityStudio_v5/developer/adapter_packs/commander
export PATH=$PATH:$HOME/slc_cli
export PATH=$PATH:/usr/bin/
export PATH=$PATH:~/amazon-corretto-17.0.12.7.1-linux-x64/bin
export PATH=$PATH:$HOME/amazon-corretto-17.0.12.7.1-linux-x64/bin
export LST_PATH=$PWD/build/test/integration_test/build/$BOARD_NAME/integration_test_iec60730_watchdog/S
slc configuration --sdk=${SDK_PATH}
ninja --version
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
COMPONENTS: all
ADAPTER_SN: 440189400
CHIP: EFR32MG12
TOOL_DIRS: ~/SimplicityStudio-5/SimplicityStudio_v5/developer/toolchains/gnu_arm/12.2.rel1_2023.7/bin
TOOL_DIRS: $HOME/SimplicityStudio-5/SimplicityStudio_v5/developer/toolchains/gnu_arm/12.2.rel1_2023.7/bin
START_ADDR_FLASH: 0x0000000

steps:
Expand All @@ -122,10 +122,10 @@ jobs:
ls -la
- name: Prepare environment
run: |
export PATH=$PATH:~/SimplicityStudio-5/SimplicityStudio_v5/developer/adapter_packs/commander
export PATH=$PATH:~/slc_cli
export PATH=$PATH:$HOME/SimplicityStudio-5/SimplicityStudio_v5/developer/adapter_packs/commander
export PATH=$PATH:$HOME/slc_cli
export PATH=$PATH:/usr/bin/
export PATH=$PATH:~/amazon-corretto-17.0.12.7.1-linux-x64/bin
export PATH=$PATH:$HOME/amazon-corretto-17.0.12.7.1-linux-x64/bin
export LST_PATH=$PWD/build/test/integration_test/build/$BOARD_NAME/integration_test_iec60730_watchdog/S
slc configuration --sdk=${SDK_PATH}
ninja --version
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/04-Integration_Test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
REPO_BRANCH: ${{ github.event.inputs.branch }}
REPO_NAME: ${{ github.repository }}
JLINK_PATH: /opt/SEGGER/JLink/libjlinkarm.so
SDK_PATH: ~/SimplicityStudio/SDKs/gecko_sdk
SDK_PATH: $HOME/SimplicityStudio/SDKs/gecko_sdk
jobs:
job1:
name: Integration test for mg24 with gcc
Expand All @@ -31,7 +31,7 @@ jobs:
COMPONENTS: all
ADAPTER_SN: 440111030
CHIP: EFR32MG24BXXXF1536
TOOL_DIRS: ~/SimplicityStudio-5/SimplicityStudio_v5/developer/toolchains/gnu_arm/12.2.rel1_2023.7/bin
TOOL_DIRS: $HOME/SimplicityStudio-5/SimplicityStudio_v5/developer/toolchains/gnu_arm/12.2.rel1_2023.7/bin
START_ADDR_FLASH: 0x8000000

steps:
Expand All @@ -51,10 +51,10 @@ jobs:
ls -la
- name: Run test
run: |
export PATH=$PATH:~/SimplicityStudio-5/SimplicityStudio_v5/developer/adapter_packs/commander
export PATH=$PATH:~/slc_cli
export PATH=$PATH:$HOME/SimplicityStudio-5/SimplicityStudio_v5/developer/adapter_packs/commander
export PATH=$PATH:$HOME/slc_cli
export PATH=$PATH:/usr/bin/
export PATH=$PATH:~/amazon-corretto-17.0.12.7.1-linux-x64/bin
export PATH=$PATH:$HOME/amazon-corretto-17.0.12.7.1-linux-x64/bin
export LST_PATH=$PWD/build/test/integration_test/build/$BOARD_NAME/integration_test_iec60730_watchdog/S
slc configuration --sdk=${SDK_PATH}
ninja --version
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
COMPONENTS: all
ADAPTER_SN: 440189400
CHIP: EFR32MG12
TOOL_DIRS: ~/SimplicityStudio-5/SimplicityStudio_v5/developer/toolchains/gnu_arm/12.2.rel1_2023.7/bin
TOOL_DIRS: $HOME/SimplicityStudio-5/SimplicityStudio_v5/developer/toolchains/gnu_arm/12.2.rel1_2023.7/bin
START_ADDR_FLASH: 0x0000000

steps:
Expand All @@ -120,10 +120,10 @@ jobs:
ls -la
- name: Prepare environment
run: |
export PATH=$PATH:~/SimplicityStudio-5/SimplicityStudio_v5/developer/adapter_packs/commander
export PATH=$PATH:~/slc_cli
export PATH=$PATH:$HOME/SimplicityStudio-5/SimplicityStudio_v5/developer/adapter_packs/commander
export PATH=$PATH:$HOME/slc_cli
export PATH=$PATH:/usr/bin/
export PATH=$PATH:~/amazon-corretto-17.0.12.7.1-linux-x64/bin
export PATH=$PATH:$HOME/amazon-corretto-17.0.12.7.1-linux-x64/bin
export LST_PATH=$PWD/build/test/integration_test/build/$BOARD_NAME/integration_test_iec60730_watchdog/S
slc configuration --sdk=${SDK_PATH}
ninja --version
Expand Down
Loading