-
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 01-Generate_Firmware_Debug.yaml
- Loading branch information
1 parent
e8eebfc
commit f0e585d
Showing
1 changed file
with
6 additions
and
18 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 |
---|---|---|
|
@@ -72,10 +72,6 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
ref: "${{ github.event_name == 'workflow_dispatch' && github.event.inputs.branch || github.ref }}" | ||
- name: Verify directory | ||
run: | | ||
echo "Cloned to: $(pwd)" | ||
ls -la /home/runner/work/${{ github.event.repository.name }} | ||
- name: Log Current Branch and Commit | ||
run: | | ||
echo "Current branch: $(git rev-parse --abbrev-ref HEAD)" | ||
|
@@ -131,10 +127,6 @@ jobs: | |
wget $SLC_CLI_URL | ||
unzip slc_cli_linux.zip | ||
# ls -la | ||
echo "Current directory: $PWD" | ||
ls -la | ||
echo "List file in simplicity_sdk folfer" | ||
ls -la "/home/runner/work/IEC60730_Libs/IEC60730_Libs/simplicity_sdk" | ||
- name: Install Simplicity Commander | ||
if: always() | ||
run: | | ||
|
@@ -147,10 +139,6 @@ jobs: | |
tar -xf SimplicityCommander-Linux/Commander_linux_x86_64_*.tar.bz commander | ||
cd commander | ||
# ls -la | ||
echo "Current directory: $PWD" | ||
ls -la | ||
echo "List file in simplicity_sdk folfer" | ||
ls -la "/home/runner/work/IEC60730_Libs/IEC60730_Libs/simplicity_sdk" | ||
- name: Install GCC | ||
if: always() | ||
run: | | ||
|
@@ -159,10 +147,6 @@ jobs: | |
# ls -la | ||
cd arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi | ||
# ls -la | ||
echo "Current directory: $PWD" | ||
ls -la | ||
echo "List file in simplicity_sdk folfer" | ||
ls -la "/home/runner/work/IEC60730_Libs/IEC60730_Libs/simplicity_sdk" | ||
- name: Install Ninja build | ||
run: | | ||
sudo apt update | ||
|
@@ -223,8 +207,12 @@ jobs: | |
echo "Run bash script" | ||
bash execute_integration_test.sh $BOARD_NAME_MG12 $TASK $COMPONENT $ADAPTER_SN_MG12 $COMPILER | ||
echo "Generate MG24 image" | ||
cd ../build | ||
cd .. | ||
ls -la | ||
rm -rf build | ||
make prepare | ||
cd build | ||
slc signature trust -extpath $SDK_PATH/extension/IEC60730_Libs | ||
echo "Run Cmake" | ||
cmake --toolchain ../cmake/toolchain.cmake .. -DENABLE_INTEGRATION_TESTING=ON -DBOARD_NAME=$BOARD_NAME_MG24 | ||
make integration_test_info -j4 | ||
|
@@ -233,7 +221,7 @@ jobs: | |
if [ -z "${{ github.event.inputs.ADAPTER_SN_MG24 }}" ]; then | ||
ADAPTER_SN_MG24=440133193 | ||
fi | ||
echo "Run bash script | ||
echo "Run bash script" | ||
bash execute_integration_test.sh $BOARD_NAME_MG24 $TASK $COMPONENT $ADAPTER_SN_MG24 $COMPILER | ||
- name: Upload firmware MG12 | ||
uses: actions/[email protected] | ||
|