-
Notifications
You must be signed in to change notification settings - Fork 67
66 lines (60 loc) · 2.7 KB
/
Build-ArduinoIDE-T-ETH-Lite-ESP32S3.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
name: Build-ArduinoIDE-T-ETH-Lite-ESP32S3
on:
workflow_dispatch:
pull_request:
push:
paths:
- "examples/**"
- "lib/**"
- ".github/workflows/Build-ArduinoIDE-T-ETH-Lite-ESP32S3.yml"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
examples:
- examples/UnitTestExample/UnitTestExample.ino
- examples/ETHOTA/ETHOTA.ino
- examples/HelloServer/HelloServer.ino
- examples/SDWebServer/SDWebServer.ino
- examples/MQTTClient/MQTTClient.ino
- examples/ESPMQTTSClient/ESPMQTTSClient.ino
- examples/StaticIPAddress/StaticIPAddress.ino
- examples/UDPClientReceiver/UDPClientReceiver.ino
- examples/UDPClientSender/UDPClientSender.ino
- examples/UDPClientReceiverDirectPC/UDPClientReceiverDirectPC.ino
- examples/UDPClientSenderDirectPC/UDPClientSenderDirectPC.ino
- examples/AsyncUDPServer/AsyncUDPServer.ino
- examples/AsyncUDPClient/AsyncUDPClient.ino
- examples/WebSocketClient/WebSocketClient.ino
- examples/WebSocketServer/WebSocketServer.ino
- examples/TCPClient/TCPClient.ino
- examples/TCPServer/TCPServer.ino
# - examples/RS485_Master/RS485_Master.ino
# - examples/RS485_Slave/RS485_Slave.ino
# - examples/RS485_ModBUS/RS485_ModBUS.ino
# - examples/TFT_ILI9341_Shield/TFT_ILI9341_Shield.ino
- examples/CameraShield/CameraShield.ino
# - examples/LoRaShield/LoRaShield.ino
- examples/SPIExample/SPIExample.ino
# - examples/SPI_Wire_DevicesExample/SPI_Wire_DevicesExample.ino
# - examples/SharingSPIBus/SharingSPIBus.ino
- examples/WireExample/WireExample.ino
env:
EXAMPLES: ${{matrix.examples}}
steps:
- uses: actions/checkout@v3
- name: Install Arduino Ci
run: |
wget https://downloads.arduino.cc/arduino-cli/arduino-cli_latest_Linux_64bit.tar.gz -O arduino-cli.tar.gz ;
sudo tar xf arduino-cli.tar.gz -C /usr/local/bin arduino-cli ;
arduino-cli config init ;
arduino-cli config add board_manager.additional_urls https://espressif.github.io/arduino-esp32/package_esp32_index.json ;
arduino-cli core update-index ;
arduino-cli core install esp32:[email protected] ;
- name: Build examples
run: |
mkdir -p $HOME/Arduino/libraries ;
cp -r $PWD/lib/* $HOME/Arduino/libraries
cd $GITHUB_WORKSPACE ;
arduino-cli compile -b esp32:esp32:esp32s3:CDCOnBoot=cdc,FlashSize=16M,PartitionScheme=app3M_fat9M_16MB,PSRAM=opi --build-property "build.extra_flags=-DLILYGO_T_ETH_LITE_ESP32S3" $PWD/$EXAMPLES