aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/esp-idf-with-gfx.yml
blob: a05b8f369a866cbf738ae9cce7af23476041a4f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: esp-idf with Adafruit GFX Library

on:
  push:
    paths-ignore:
      - '**.md'
      - 'doc/**'
  pull_request:
    paths-ignore:
      - '**.md'
      - 'doc/**'

jobs:
  build:
    name: esp-idf 5.3.1 with Adafruit GFX

    runs-on: ubuntu-latest

    steps:
    - name: Checkout repo
      uses: actions/checkout@v4
      with:
        submodules: 'recursive'
    - name: Checkout ESP32-HUB75-MatrixPanel-I2S-DMA component
      uses: actions/checkout@v4
      with:
        path: 'examples/esp-idf/with-gfx/components/ESP32-HUB75-MatrixPanel-I2S-DMA'
    - name: Checkout Adafruit-GFX-Library repo
      uses: actions/checkout@v4
      with:
        repository: 'adafruit/Adafruit-GFX-Library'
        path: 'examples/esp-idf/with-gfx/components/Adafruit-GFX-Library'
    - name: Checkout Adafruit_BusIO repo
      uses: actions/checkout@v4
      with:
        repository: 'adafruit/Adafruit_BusIO'
        path: 'examples/esp-idf/with-gfx/components/Adafruit_BusIO'
    - name: Checkout arduino-esp32 repo
      uses: actions/checkout@v4
      with:
        repository: 'espressif/arduino-esp32'
        path: 'examples/esp-idf/with-gfx/components/arduino'
    - name: Edit Adafruit_BusIO CMakeLists.txt
      run: sed -i 's/arduino-esp32)/arduino)/g' examples/esp-idf/with-gfx/components/Adafruit_BusIO/CMakeLists.txt
    - name: esp-idf build
      uses: espressif/esp-idf-ci-action@v1
      with:
        esp_idf_version: v5.3.1
        target: esp32
        path: 'examples/esp-idf/with-gfx'