Skip to content

Commit

Permalink
copying littlefs example CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hoeken committed May 27, 2024
1 parent e32d096 commit cca7d26
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions .github/workflows/esp-idf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
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

0 comments on commit cca7d26

Please sign in to comment.