-
Notifications
You must be signed in to change notification settings - Fork 67
64 lines (60 loc) · 1.74 KB
/
Build-T-ETH-POE-PRO.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
name: Build-T-ETH-POE-PRO
on:
workflow_dispatch:
pull_request:
push:
paths:
- "examples/**"
- "lib/**"
- ".github/workflows/Build-T-ETH-POE-PRO.yml"
- "platformio.ini"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
examples:
- examples/UnitTestExample
- examples/ETHOTA
- examples/HelloServer
# - examples/SDWebServer
- examples/MQTTClient
- examples/ESPMQTTSClient
- examples/StaticIPAddress
- examples/UDPClientReceiver
- examples/UDPClientSender
- examples/UDPClientReceiverDirectPC
- examples/UDPClientSenderDirectPC
- examples/AsyncUDPServer
- examples/AsyncUDPClient
- examples/WebSocketClient
- examples/WebSocketServer
- examples/TCPClient
- examples/TCPServer
- examples/RS485_Master
- examples/RS485_Slave
- examples/RS485_ModBUS
- examples/TFT_ILI9341_Shield
# - examples/CameraShield
# - examples/LoRaShield
# - examples/SPIExample
- examples/SPI_Wire_DevicesExample
# - examples/SharingSPIBus
- examples/WireExample
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: Run PlatformIO
run: |
export PLATFORMIO_SRC_DIR=${{ matrix.examples }}
pio run -e T-ETH-POE-PRO