-
Notifications
You must be signed in to change notification settings - Fork 17
92 lines (86 loc) · 3.29 KB
/
pio.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
name: Build PlatformIO
on:
workflow_dispatch:
pull_request:
push:
paths:
- "src/**"
- "examples/**"
- ".github/workflows/platformio.yml"
- "platformio.ini"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
example:
- examples/BAM423_Accelerometer
- examples/BAM423_Orientation
- examples/BAM423_Temperature
- examples/BHI260AP_6DoF
- examples/BHI260AP_aux_BMM150
- examples/BHI260AP_aux_BMM150_euler
- examples/BHI260AP_aux_BMM150_quaternion
- examples/BHI260AP_DebugInfo
- examples/BHI260AP_Orientation
- examples/BHI260AP_StepCounter
- examples/BMA423_Feature
- examples/BMM150_GetDataExample
- examples/CM32181_LightSensor
- examples/CM32181_LightSensorInterrupt
- examples/DRV2605_Basic
- examples/LTR553ALS_Sensor
- examples/PCF85063_AlarmByUnits
- examples/PCF85063_SimpleTime
- examples/PCF8563_AlarmByUnits
- examples/PCF8563_SimpleTime
- examples/PCF8563_TimeLib
- examples/PCF8563_TimeSynchronization
- examples/QMC6310_CalibrateExample
- examples/QMC6310_CompassExample
- examples/QMC6310_GetDataExample
- examples/QMC6310_GetPolarExample
- examples/QMI8658_BlockExample
- examples/QMI8658_GetDataExample
- examples/QMI8658_InterruptBlockExample
- examples/QMI8658_InterruptExample
- examples/QMI8658_LockingMechanismExample
- examples/QMI8658_MadgwickAHRS
- examples/QMI8658_PedometerExample
- examples/QMI8658_ReadFromFifoExample
- examples/QMI8658_WakeOnMotion
- examples/QMI8658_WakeOnMotionCallBackExample
- examples/TouchDrv_CHSC5816_GetPoint
- examples/TouchDrv_CST9217_GetPoint
- examples/TouchDrv_CSTxxx_GetPoint
- examples/TouchDrv_FT3267_LilyGo_T_RGB
- examples/TouchDrv_FT6232_GetPoint
- examples/TouchDrv_GT911_GetPoint
- examples/TouchDrv_GT911_LilyGo_T_RGB
- examples/TouchDrv_Interface_T_RGB
- examples/XL9555_ExtensionIOInterrupt
- examples/XL9555_ExtensionIORead
- examples/XL9555_ExtensionIOWirte
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install PlatformIO Core
run: pip install --upgrade platformio
- name: Install MadgwickAHRS library
# https://github.com/arduino-libraries/MadgwickAHRS
run: pio pkg install --library "arduino-libraries/Madgwick@^1.2.0" -g
- name: Install esp8266-oled-ssd1306 library
# https://github.com/ThingPulse/esp8266-oled-ssd1306
run: pio pkg install --library "thingpulse/ESP8266 and ESP32 OLED driver for SSD1306 displays @ ^4.4.0" -g
- name: Run PlatformIO
run: pio ci --lib="." --board=esp32dev --board=esp32-c3-devkitm-1 --board=esp32-s3-devkitm-1 --board=nrf52840_dk_adafruit
env:
PLATFORMIO_CI_SRC: ${{ matrix.example }}