Files
system-control/.gitea/workflows/esp32_build.yml
Peter Siegmund c586de76a2
Some checks failed
ESP-IDF Build / build (esp32c6, latest) (push) Failing after 42s
ESP-IDF Build / build (esp32c6, release-v5.4) (push) Failing after 53s
ESP-IDF Build / build (esp32c6, release-v5.5) (push) Failing after 44s
ESP-IDF Build / build (esp32s3, latest) (push) Failing after 40s
ESP-IDF Build / build (esp32s3, release-v5.4) (push) Failing after 41s
ESP-IDF Build / build (esp32s3, release-v5.5) (push) Failing after 41s
move actions to gitea only
Signed-off-by: Peter Siegmund <developer@mars3142.org>
2025-10-01 17:04:38 +02:00

51 lines
1.1 KiB
YAML

name: ESP-IDF Build
on:
push:
paths:
- "firmware/**"
- ".github/workflows/esp32_build.yml"
pull_request:
merge_group:
workflow_dispatch:
schedule:
- cron: "0 5 * * 3"
permissions:
contents: read
pull-requests: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
strategy:
matrix:
idf_ver: [release-v5.4, release-v5.5, latest]
idf_target: [esp32c6, esp32s3]
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
submodules: "recursive"
- name: Extract API key
env:
INSIGHTS_API_KEY: ${{ secrets.INSIGHTS_API_KEY }}
run: |
echo $INSIGHTS_API_KEY > firmware/components/analytics/insights_api_key.txt
- name: ESP-IDF build
uses: espressif/esp-idf-ci-action@v1
with:
esp_idf_version: ${{ matrix.idf_ver }}
target: ${{ matrix.idf_target }}
path: firmware
command: idf.py -DSDKCONFIG_DEFAULTS="sdkconfig.defaults;sdkconfig.release" build