Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Bich Vu Thi Ngoc committed Oct 14, 2024
1 parent c685acb commit 2772dc0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/generate_firmware.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,8 @@ jobs:
cd build
slc signature trust -extpath $SDK_PATH/extension/IEC60730_Libs
cmake --toolchain ../cmake/toolchain.cmake .. -DENABLE_INTEGRATION_TESTING=ON -DBOARD_NAME=${BOARD_NAME}
cmake --build . --target integration_test_info -j4
export ADAPTER_SN=440133193
export LST_PATH=$PWD/test/integration_test/build/brd4187c/integration_test_iec60730_watchdog/S
make integration_test_info -j4
export LST_PATH=$PWD/test/integration_test/build/${BOARD_NAME}/integration_test_iec60730_watchdog/S
export HOST_IP=192.168.1.69
cd ../test/
ls -la
Expand Down Expand Up @@ -277,14 +276,13 @@ jobs:
cd build
slc signature trust -extpath $SDK_PATH/extension/IEC60730_Libs
cmake --toolchain ../cmake/toolchain.cmake .. -DENABLE_INTEGRATION_TESTING=ON -DBOARD_NAME=${BOARD_NAME}
cmake --build . --target integration_test_info -j4
export ADAPTER_SN=440133193
export LST_PATH=$PWD/test/integration_test/build/brd4187c/integration_test_iec60730_watchdog/S
make integration_test_info -j4
export LST_PATH=$PWD/test/integration_test/build/${BOARD_NAME}/integration_test_iec60730_watchdog/S
ls -la
git branch
cd ../test/
ls -la
bash execute_integration_test.sh $BOARD_NAME $TASK $COMPONENTS $ADAPTER_SN $COMPILER
bash execute_integration_test.sh ${BOARD_NAME} $TASK $COMPONENTS $ADAPTER_SN $COMPILER
- name: Upload firmware
uses: actions/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration_test_auto.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
git checkout $REPO_BRANCH
ls -la
- name: Prepare environment
- name: Run test
run: |
export PATH=$PATH:$HOME/SimplicityStudio-5/SimplicityStudio_v5/developer/adapter_packs/commander
export PATH=$PATH:$HOME/slc_cli
Expand Down

0 comments on commit 2772dc0

Please sign in to comment.