increase CI timeout #293
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: 10 | |
strategy: | |
fail-fast: false | |
matrix: | |
idf_ver: ["v4.4", "v5.0", "v5.1", "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: esp-idf build library | |
uses: espressif/esp-idf-ci-action@main | |
with: | |
esp_idf_version: ${{ matrix.idf_ver }} | |
target: ${{ matrix.idf_target }} | |
path: "example/" | |
command: apt update && apt install -y python3-venv && 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"' |