Skip to content

Replace mklittlefs with littlefs-python #287

Replace mklittlefs with littlefs-python

Replace mklittlefs with littlefs-python #287

Workflow file for this run

name: Build firmware
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: "0 1 * * 6" # Every Saturday at 1AM
jobs:
build-component:
timeout-minutes: 5
strategy:
fail-fast: false
matrix:
idf_ver: ["v4.3", "v4.4", "v5.0", "latest"]
idf_target: ["esp32"]
include:
- idf_ver: "v4.4"
idf_target: esp32s2
- idf_ver: "v4.4"
idf_target: esp32c3
- idf_ver: "v4.4"
idf_target: esp32s3
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install python3-venv
- name: Install python3.8-venv for specific IDF versions
if: matrix.idf_ver == 'v4.3' || matrix.idf_ver == 'v4.4'
run: sudo apt-get update && sudo apt-get install -y python3.8-venv python3.8-distutils
- name: esp-idf build library
uses: espressif/esp-idf-ci-action@v1
with:
esp_idf_version: ${{ matrix.idf_ver }}
target: ${{ matrix.idf_target }}
path: "example/"
command: idf.py build
- name: esp-idf build tests
uses: espressif/esp-idf-ci-action@main
with:
esp_idf_version: ${{ matrix.idf_ver }}
command: '/bin/bash -c " ln -s /app /opt/esp/idf/tools/unit-test-app/components/littlefs; cd /opt/esp/idf/tools/unit-test-app; idf.py -T littlefs build"'