-
Notifications
You must be signed in to change notification settings - Fork 37
54 lines (52 loc) · 1.83 KB
/
examples.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: Examples
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
example:
- "examples/adc-cpu-temp-none-os"
- "examples/blinky-arduino"
- "examples/blinky-arduino-ch32v003"
- "examples/blinky-arduino-ch32v307"
- "examples/blinky-ch32v003fun"
- "examples/blinky-none-os"
- "examples/blinky-none-os-ch5xx"
- "examples/ch32v003fun-oled"
- "examples/uart-printf-none-os"
- "examples/webserver-ch32v307-none-os"
- "examples/blinky-freertos"
- "examples/blinky-freertos-ch58x-ch59x"
- "examples/hello-world-harmony-liteos"
- "examples/hello-world-rt-thread"
- "examples/hello-world-rt-thread-ch5xx"
- "examples/hello-world-tencent-os"
- "examples/blinky-cpp-none-os"
- "examples/baremetal-ch32v003"
- "examples/sdi-printf-ch32v003"
- "examples/tinyusb-arduino"
- "examples/usb-cdc-wch32v307-none-os"
- "examples/ble-hid-ch32v208"
- "examples/ble-usb-cdc-ch58x"
- "examples/ble-hid-ch59x"
- "examples/usb-pd-none-os"
- "examples/usb-pdf-logger-none-os-ch592"
- "examples/zephyr-blink"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
submodules: "recursive"
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.9"
- name: Install dependencies
run: |
pip install -U https://github.com/platformio/platformio/archive/develop.zip
pio pkg install --global --platform symlink://.
- name: Build examples
run: |
pio run -d ${{ matrix.example }}