Skip to content

Update generate_firmware.yaml #37

Update generate_firmware.yaml

Update generate_firmware.yaml #37

name: Generate Firmware
on:
push:
env:
TOOL_DIRS: /home/sqa/SimplicityStudio_v5/developer/toolchains/gnu_arm/10.3_2021.10/bin
SDK_PATH: /home/sqa/SimplicityStudio/SDKs/gecko_sdk
TOOL_CHAINS: GCC
START_ADDR_FLASH: 0x8000000
jobs:
job1:
name: Generate Firmware
runs-on: [self-hosted, ds-sqa-hn-003]
permissions:
contents: read
pull-requests: write
env:
HOST_IP: 192.168.1.69
COMPILER: GCC
PLATFORM: MG12
APP_TYPE: SecureApp
SECURITY: APP_SECURE=false
COMMAND: all
COMPONENT: all
steps:
- name: Checkout
uses: actions/[email protected]
- name: Generate Firmware
run: |
export TOOL_DIRS=/home/sqa/SimplicityStudio_v5/developer/toolchains/gnu_arm/10.3_2021.10/bin
export SDK_PATH=/home/sqa/SimplicityStudio/SDKs/gecko_sdk
export TOOL_CHAINS=GCC
export START_ADDR_FLASH=0x8000000
export PATH="/home/sqa/slc_cli/:$PATH"
pwd
ls -la
chmod -R 777 .
cd test/
ls -la
./generate_fw.sh $COMMAND $COMPONENT $PLATFORM $COMPILER $SECURITY
- name: Upload artifact
uses: actions/[email protected]
with:
name: firmware
path: artifact
warn: Output a warning but do not fail the action
retention-days: 90