aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorAvi <avibrender@gmail.com>2023-05-16 12:23:27 -0400
committerAvi <avibrender@gmail.com>2023-05-16 12:38:12 -0400
commitfa2cb74ba11651873b091a2a87259cc03c591cde (patch)
treebea08bb4a8c77ee5de828800a31d22ad1438f16e /.github/workflows
parent8b6fb5ef23c999080262218dd73c684ded399fbe (diff)
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.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/esp-idf_with-gfx.yml49
-rw-r--r--.github/workflows/esp-idf_without-gfx.yml34
2 files changed, 83 insertions, 0 deletions
diff --git a/.github/workflows/esp-idf_with-gfx.yml b/.github/workflows/esp-idf_with-gfx.yml
new file mode 100644
index 0000000..abe875b
--- /dev/null
+++ b/.github/workflows/esp-idf_with-gfx.yml
@@ -0,0 +1,49 @@
+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'
diff --git a/.github/workflows/esp-idf_without-gfx.yml b/.github/workflows/esp-idf_without-gfx.yml
new file mode 100644
index 0000000..5fa06a4
--- /dev/null
+++ b/.github/workflows/esp-idf_without-gfx.yml
@@ -0,0 +1,34 @@
+name: esp-idf without 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/without-gfx/components/ESP32-HUB75-MatrixPanel-I2S-DMA'
+ - name: esp-idf build
+ uses: espressif/esp-idf-ci-action@v1
+ with:
+ esp_idf_version: v4.4
+ target: esp32
+ path: 'examples/esp-idf/without-gfx'