-
Notifications
You must be signed in to change notification settings - Fork 1
53 lines (46 loc) · 1.32 KB
/
generate_firmware.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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