Files
system-control/.gitea/workflows/esp32_build.yml
Peter Siegmund 15fb917aaf
Some checks failed
ESP-IDF Build / build (esp32c6, latest) (push) Failing after 14s
ESP-IDF Build / build (esp32c6, release-v5.4) (push) Failing after 14s
ESP-IDF Build / build (esp32c6, release-v5.5) (push) Failing after 13s
ESP-IDF Build / build (esp32s3, latest) (push) Failing after 13s
ESP-IDF Build / build (esp32s3, release-v5.4) (push) Failing after 13s
ESP-IDF Build / build (esp32s3, release-v5.5) (push) Failing after 14s
debugging action
Signed-off-by: Peter Siegmund <developer@mars3142.org>
2025-12-20 14:31:13 +01:00

62 lines
1.6 KiB
YAML

name: ESP-IDF Build
on:
push:
paths:
- "firmware/**"
- ".gitea/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: Debug - Check paths
run: |
echo "GITHUB_WORKSPACE: $GITHUB_WORKSPACE"
echo "Current directory: $(pwd)"
echo "Contents of workspace:"
ls -la
echo "Contents of firmware directory:"
ls -la firmware/ || echo "firmware directory not found"
echo "Check for CMakeLists.txt:"
test -f firmware/CMakeLists.txt && echo "CMakeLists.txt exists" || echo "CMakeLists.txt NOT found"
- name: Extract API key
env:
INSIGHTS_API_KEY: ${{ secrets.INSIGHTS_API_KEY }}
run: |
echo $INSIGHTS_API_KEY > firmware/components/analytics/insights_auth_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