forked from spm81/MCFW_UV-K5_Open_Source_Firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (32 loc) · 957 Bytes
/
cwd.yml
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
name: Compile with Docker CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: make compile executable
run: chmod +x ./compile-with-docker.sh
- name: clean
run: make clean
- name: compile with docker
run: ./compile-with-docker.sh
- uses: actions/upload-artifact@v4
with:
name: Packed Firmware
path: ./compiled-firmware/firmware.packed.bin
- uses: actions/upload-artifact@v4
with:
name: Raw Firmware
path: ./compiled-firmware/firmware.bin
- name: pr-comment-file-size
uses: fatton139/[email protected]
with:
# Path to file or directory for file sizes analysis.
path: ./compiled-firmware/firmware.packed.bin
# your GITHUB_TOKEN env var.
token: ${{ secrets.GITHUB_TOKEN }}