From 640c834bad86421a573e7908b2a31cc0cd63ff7e Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Tue, 12 May 2020 14:59:41 +0200 Subject: [PATCH] Add ESP32webcam to CI --- .github/workflows/CI_github_ESP32.yml | 17 +++++++++++++++++ platformio_tasmota_env32.ini | 1 + 2 files changed, 18 insertions(+) diff --git a/.github/workflows/CI_github_ESP32.yml b/.github/workflows/CI_github_ESP32.yml index 9e8312b51..28221fb20 100644 --- a/.github/workflows/CI_github_ESP32.yml +++ b/.github/workflows/CI_github_ESP32.yml @@ -21,6 +21,23 @@ jobs: platformio run -e tasmota32 + tasmota32-webcam: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Set up Python + uses: actions/setup-python@v1 + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -U platformio + platformio upgrade --dev + platformio update + - name: Run PlatformIO + run: | + cp platformio_override_sample.ini platformio_override.ini + platformio run -e tasmota32-webcam + tasmota32-minimal: runs-on: ubuntu-latest steps: diff --git a/platformio_tasmota_env32.ini b/platformio_tasmota_env32.ini index b5b2dcb78..e7f321464 100644 --- a/platformio_tasmota_env32.ini +++ b/platformio_tasmota_env32.ini @@ -21,6 +21,7 @@ build_flags = ${common32.build_flags} extends = env:tasmota32 board = esp32cam board_build.f_cpu = 240000000L +build_flags = ${common32.build_flags} -DUSE_WEBCAM [env:tasmota32-minimal] extends = env:tasmota32