Skip to content

Commit 96a246f

Browse files
committed
Add build workflows
1 parent 7335f90 commit 96a246f

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

.github/workflows/lpc54s018.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: LPC54S018 Build
2+
3+
on:
4+
push:
5+
branches: [ 'master', 'main', 'release/**' ]
6+
pull_request:
7+
branches: [ '*' ]
8+
9+
jobs:
10+
lpc54s018_build:
11+
runs-on: ubuntu-latest
12+
timeout-minutes: 10
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Install ARM toolchain
18+
run: |
19+
set -euo pipefail
20+
sudo apt-get update
21+
sudo apt-get install -y gcc-arm-none-eabi
22+
23+
- name: Build LPC54S018 firmware
24+
run: |
25+
set -euo pipefail
26+
make -C src/port/lpc54s018
27+
28+
- name: Verify binary
29+
run: |
30+
set -euo pipefail
31+
test -f src/port/lpc54s018/app.bin
32+
arm-none-eabi-size src/port/lpc54s018/app.elf

0 commit comments

Comments
 (0)