arduino-esp32 core 2.x => 3.x migration #46
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Arduino Build | |
# The workflow will run on every push and pull request to the repository | |
on: | |
- push | |
- pull_request | |
jobs: | |
compile-sketch: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Compile examples | |
uses: arduino/compile-sketches@v1 | |
with: | |
fqbn: esp32:esp32:esp32 | |
platforms: | | |
- name: esp32:esp32 | |
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json | |
libraries: | | |
- name: esp32FOTA | |
source-path: ./ | |
- name: ArduinoJson | |
- name: ESP32-targz | |
- name: esp32-flashz | |
source-url: https://github.com/vortigont/esp32-flashz.git | |
sketch-paths: | | |
- examples/withDeviceID/withDeviceID.ino | |
- examples/forceUpdate/forceUpdate.ino | |
- examples/HTTP/HTTP_signature_check/HTTP_signature_check.ino | |
- examples/HTTP/HTTPS/HTTPS.ino | |
- examples/HTTP/HTTPS_without_root_cert/HTTPS_without_root_cert.ino | |
- examples/HTTP/HTTP/HTTP.ino | |
- examples/anyFS/anyFS.ino | |
- examples/anyFS/test/5.sig-in-progmem/5.sig-in-progmem.ino | |
- examples/anyFS/test/4.cert-in-littlefs/4.cert-in-littlefs.ino | |
- examples/anyFS/test/1.2.nosecurity.gz/1.2.nosecurity.gz.ino | |
- examples/anyFS/test/2.cert-in-spiffs/2.cert-in-spiffs.ino | |
- examples/anyFS/test/3.cert-in-progmem/3.cert-in-progmem.ino | |
- examples/anyFS/test/99.final-stage/99.final-stage.ino | |
- examples/anyFS/test/1.3.nosecurity.zz/1.3.nosecurity.zz.ino | |
- examples/anyFS/test/1.1.nosecurity/1.1.nosecurity.ino | |
cli-compile-flags: | | |
- --warnings="default" |