Skip to content

Commit b1c945c

Browse files
committed
Merge branch 'hx30' into hx20-hx30
2 parents c1d06ea + 08c7cea commit b1c945c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+12913
-25
lines changed

.github/labeler.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@ hx20:
66
- board/hx20/*
77
- board/hx20/**/*
88

9+
hx30:
10+
- board/hx30/*
11+
- board/hx30/**/*
12+
913
board-mistake:
10-
- any: ['board/**/*', '!board/hx20/*']
14+
- any: ['board/**/*', '!board/hx20/*', '!board/hx30/*']
1115

1216
mchp:
1317
- chip/mchp/**/*

.github/workflows/hx30.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: build hx30 firmware
2+
3+
on:
4+
push:
5+
branches:
6+
- hx3*
7+
pull_request:
8+
branches:
9+
- hx30
10+
workflow_dispatch:
11+
12+
jobs:
13+
build:
14+
name: Build hx30
15+
runs-on: ubuntu-20.04
16+
17+
steps:
18+
- name: install toolchain
19+
run: sudo apt install gcc-arm-none-eabi libftdi1-dev
20+
# Checks out a copy of your repository on the ubuntu-latest machine
21+
- name: Checkout code
22+
uses: actions/checkout@v2
23+
- name: build hx30 board
24+
env:
25+
BOARD: hx30
26+
run: |
27+
make -j BOARD=$BOARD CROSS_COMPILE=arm-none-eabi-
28+
echo Built $BOARD ec
29+
- name: file sha256
30+
run: sha256sum build/hx30/ec.bin
31+
- name: generate artifact version
32+
run: |
33+
echo "VERSIONINFO=$(date -u +'%Y-%m-%d-%H-%M-%S')_$GITHUB_SHA" >> $GITHUB_ENV
34+
35+
- uses: actions/upload-artifact@v2
36+
with:
37+
name: hx30.${{ env.VERSIONINFO }}.bin
38+
path: build/hx30/ec.bin

0 commit comments

Comments
 (0)