aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authormrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2023-05-16 21:30:50 +0100
committerGitHub <noreply@github.com>2023-05-16 21:30:50 +0100
commite27231f5ca9a26ab60ee0968ea152c338391428e (patch)
tree880bd6725c659f81a09a7c7c2fe22570c22dbf55 /.github/workflows
parent6ba7c22a63a67d6b3c39418b9bca048edf3aa37c (diff)
parentfa2cb74ba11651873b091a2a87259cc03c591cde (diff)
Merge pull request #460 from abrender/addespidfcode
Add examples & Github Actions test for ESP-IDF.
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'