* Add and remove libs and components for Arduino Core 3 * Add back NimBLE-Arduino in resources
30 lines
968 B
YAML
30 lines
968 B
YAML
name: Async TCP CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
pull_request:
|
|
|
|
jobs:
|
|
|
|
build-arduino:
|
|
name: Arduino on ${{ matrix.os }}
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest]
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: arduino/setup-arduino-cli@v1
|
|
- name: Download board
|
|
run: |
|
|
arduino-cli --config-file arduino-cli.yaml core update-index
|
|
arduino-cli --config-file arduino-cli.yaml board listall
|
|
arduino-cli --config-file arduino-cli.yaml core install esp32:esp32@2.0.2
|
|
- name: Compile Sketch
|
|
run: arduino-cli --config-file arduino-cli.yaml --library ./src/ compile --fqbn esp32:esp32:esp32 ./examples/ClientServer/Client/Client.ino
|
|
- name: Compile Sketch with IPv6
|
|
env:
|
|
LWIP_IPV6: true
|
|
run: arduino-cli --config-file arduino-cli.yaml --library ./src/ compile --fqbn esp32:esp32:esp32 ./examples/ClientServer/Client/Client.ino
|