Skip to content

Commit cedda30

Browse files
authored
Add PlatformIO CI
1 parent 847c88d commit cedda30

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/build.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: PlatformIO CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: actions/cache@v4
12+
with:
13+
path: |
14+
~/.cache/pip
15+
~/.platformio/.cache
16+
key: ${{ runner.os }}-pio
17+
- uses: actions/setup-python@v5
18+
with:
19+
python-version: '3.11'
20+
- name: Install PlatformIO Core
21+
run: pip install --upgrade platformio
22+
23+
- name: Install CH32V platform
24+
run: pio pkg install -g -p "https://github.com/Community-PIO-CH32V/platform-ch32v.git"
25+
26+
- name: Build CDCRenderer Firmware
27+
run: cd CDCRenderer && pio run
28+
29+
- name: Build ClusterRaymarcher Firmware
30+
run: cd ClusterRaymarcher && pio run
31+
32+
- name: Build ClusterRaymarcherBase Firmware
33+
run: cd ClusterRaymarcherBase && pio run

0 commit comments

Comments
 (0)