Skip to content

Commit 8de0107

Browse files
committed
Test device firmware CI
1 parent 5ab14f0 commit 8de0107

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Test Devices CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v3
11+
- uses: actions/cache@v3
12+
with:
13+
path: |
14+
~/.cache/pip
15+
~/.platformio/.cache
16+
key: ${{ runner.os }}-pio
17+
- uses: actions/setup-python@v4
18+
with:
19+
python-version: '3.9'
20+
- name: Install PlatformIO Core
21+
run: pip install --upgrade platformio
22+
23+
- name: Build loopback firmware
24+
run: pio run
25+
working-directory: ./test-devices/loopback
26+
27+
- name: Build composite firmware-stm32
28+
run: pio run
29+
working-directory: ./test-devices/composite-stm32

0 commit comments

Comments
 (0)