Skip to content

Commit

Permalink
Update 01-Generate_Firmware_Debug.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Silabs-ThieuVu authored Oct 17, 2024
1 parent e8eebfc commit f0e585d
Showing 1 changed file with 6 additions and 18 deletions.
24 changes: 6 additions & 18 deletions .github/workflows/01-Generate_Firmware_Debug.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down Expand Up @@ -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: |
Expand All @@ -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: |
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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]
Expand Down

0 comments on commit f0e585d

Please sign in to comment.