From cca7d2699e267b220508d6a9916335029c75c308 Mon Sep 17 00:00:00 2001 From: Zach Hoeken Date: Mon, 27 May 2024 18:44:30 -0400 Subject: [PATCH] copying littlefs example CI --- .github/workflows/esp-idf.yml | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/.github/workflows/esp-idf.yml b/.github/workflows/esp-idf.yml index 80a0866..07c2533 100644 --- a/.github/workflows/esp-idf.yml +++ b/.github/workflows/esp-idf.yml @@ -7,7 +7,18 @@ on: branches: [] jobs: + build: + timeout-minutes: 10 + strategy: + fail-fast: false + matrix: + idf_ver: ["v4.4"] + idf_target: ["esp32"] + include: + - idf_ver: "v4.4" + idf_target: esp32s2 + runs-on: ubuntu-latest name: Build esp-idf v4.4.x examples @@ -20,16 +31,10 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 - - name: Run Python commands - run: | - pip install --upgrade pip - python -m venv env - source env/bin/activate - echo "VIRTUAL ENV:" $VIRTUAL_ENV - - name: esp-idf build - uses: espressif/esp-idf-ci-action@v1 + uses: espressif/esp-idf-ci-action@main with: - esp_idf_version: release-v4.4 - target: esp32 - path: app/examples/esp-idf \ No newline at end of file + esp_idf_version: ${{ matrix.idf_ver }} + target: ${{ matrix.idf_target }} + path: app/examples/esp-idf + command: apt-get update && apt-get install -y python3-venv && idf.py build \ No newline at end of file