Update generate_firmware.yaml #39
Workflow file for this run
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
name: Generate Firmware | |
on: | |
push: | |
env: | |
TOOL_DIRS: /home/sqa/SimplicityStudio-5/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-iec] | |
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-5/SimplicityStudio_v5/developer/toolchains/gnu_arm/10.3_2021.10/bin | |
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 | |