diff options
| author | Elliot Matson <ematson5897@gmail.com> | 2023-01-29 21:53:57 -0600 |
|---|---|---|
| committer | Elliot Matson <ematson5897@gmail.com> | 2023-01-29 21:53:57 -0600 |
| commit | fda92b77af1a341c8f55ee04100b099222cb898a (patch) | |
| tree | e7c5fb6ab5b418292f73f1d57e6292ffbf6c2305 /.github/workflows | |
| parent | 9901c2352d9ad9b33e46688c5dbfb2bf7c5e68fa (diff) | |
Add final switch to IDF
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/pio_build.yml | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/.github/workflows/pio_build.yml b/.github/workflows/pio_build.yml index a2e9190..af4cb29 100644 --- a/.github/workflows/pio_build.yml +++ b/.github/workflows/pio_build.yml @@ -23,6 +23,7 @@ jobs: no_fast_functions: ["", -DNO_FAST_FUNCTIONS] no_cie1931: ["", -DNO_CIE1931] virtual_panel: ["", -DVIRTUAL_PANE] + idf: [true, false] exclude: - no_fast_functions: "" virtual_panel: -DVIRTUAL_PANE @@ -43,10 +44,15 @@ jobs: python-version: '3.x' - name: Install Platformio run: pip install --upgrade platformio - - name: Run PlatformIO + - name: Run PlatformIO CI (Arduino) + if: ${{ !matrix.idf}} env: PLATFORMIO_BUILD_FLAGS: ${{ matrix.no_gfx }} ${{ matrix.no_fast_functions }} ${{ matrix.no_cie1931 }} ${{ matrix.virtual_panel }} PLATFORMIO_CI_SRC: ${{ matrix.example }} -# run: pio ci -e esp32 -c ${{ matrix.example }}/platformio.ini - run: pio ci -v -e esp32idf -c ${{ matrix.example }}/platformio.ini -# run: pio run -d ${{ matrix.example }} -e esp32idf -c ${{ matrix.example }}/platformio.ini
\ No newline at end of file + run: pio ci -e esp32 -c ${{ matrix.example }}/platformio.ini + - name: Run PlatformIO CI (ESP-IDF) + if: ${{ matrix.idf }} + env: + PLATFORMIO_BUILD_FLAGS: -DIDF_BUILD ${{ matrix.no_gfx }} ${{ matrix.no_fast_functions }} ${{ matrix.no_cie1931 }} ${{ matrix.virtual_panel }} + # pio ci doesn't use our sdkconfig, so we have to use pio run + run: pio run -d ${{ matrix.example }} -e esp32idf -c ${{ matrix.example }}/platformio.ini |
