-
Notifications
You must be signed in to change notification settings - Fork 91
31 lines (27 loc) · 881 Bytes
/
hx30.yml
File metadata and controls
31 lines (27 loc) · 881 Bytes
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
name: build hx30 firmware
on: [push, workflow_dispatch]
jobs:
build:
name: Build hx30
runs-on: ubuntu-24.04
steps:
- name: install toolchain
run: sudo apt install gcc-arm-none-eabi libftdi1-dev
# Checks out a copy of your repository on the ubuntu-latest machine
- name: Checkout code
uses: actions/checkout@v4
- name: build hx30 board
env:
BOARD: hx30
run: |
make -j BOARD=$BOARD CROSS_COMPILE=arm-none-eabi-
echo Built $BOARD ec
- name: file sha256
run: sha256sum build/hx30/ec.bin
- name: generate artifact version
run: |
echo "VERSIONINFO=$(date -u +'%Y-%m-%d-%H-%M-%S')_$GITHUB_SHA" >> $GITHUB_ENV
- uses: actions/upload-artifact@v4
with:
name: hx30.${{ env.VERSIONINFO }}.bin
path: build/hx30/ec.bin