ESP32-HUB75-MatrixPanel-DMA/.github/workflows/esp-idf_with-gfx.yml
Avi fa2cb74ba1 Add examples & Github Actions test for ESP-IDF.
This pull request adds two examples and tests using the ESP-IDF framework:

* A test with the Arduino GFX library (which requires the arduino-esp32 library & Arduino BusIO library)
* A test without the Arduino GFX library, which can be compiled without any additional dependencies.

Having these tests helps prevent any future regressions that may break users of the ESP-IDF platform.
2023-05-16 12:38:12 -04:00

49 lines
1.3 KiB
YAML

name: esp-idf with Adafruit GFX Library
on:
push:
paths-ignore:
- '**.md'
- 'doc/**'
- '.github/**'
pull_request:
paths-ignore:
- '**.md'
- 'doc/**'
- '.github/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Checkout ESP32-HUB75-MatrixPanel-I2S-DMA component
uses: actions/checkout@v2
with:
path: 'examples/esp-idf/with-gfx/components/ESP32-HUB75-MatrixPanel-I2S-DMA'
- name: Checkout Adafruit-GFX-Library repo
uses: actions/checkout@v2
with:
repository: 'adafruit/Adafruit-GFX-Library'
path: 'examples/esp-idf/with-gfx/components/Adafruit-GFX-Library'
- name: Checkout Adafruit_BusIO repo
uses: actions/checkout@v2
with:
repository: 'adafruit/Adafruit_BusIO'
path: 'examples/esp-idf/with-gfx/components/Adafruit_BusIO'
- name: Checkout arduino-esp32 repo
uses: actions/checkout@v2
with:
repository: 'espressif/arduino-esp32'
path: 'examples/esp-idf/with-gfx/components/arduino'
- name: esp-idf build
uses: espressif/esp-idf-ci-action@v1
with:
esp_idf_version: v4.4.4
target: esp32
path: 'examples/esp-idf/with-gfx'