Files
ip2-wireless-mcu-code/.gitea/workflows/build.yaml
T
Nanokloon 3cfa014200
Build / build (push) Failing after 5s
debugging
2026-09-29 19:30:15 +02:00

41 lines
1.3 KiB
YAML

name: Build
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
submodules: 'recursive'
path:
- run: echo ${GITHUB_WORKSPACE}
- name: esp-idf build (verbose)
run: export IDF_TARGET=$(echo "esp32c6" | tr '[:upper:]' '[:lower:]' | tr -d '_-')
docker run -t \
-e IDF_TARGET="${IDF_TARGET}" \
-v "${GITHUB_WORKSPACE}:/app/${{ github.repository }}" \
-w "/app/${{ github.repository }}" \
espressif/idf:v6.0.2 \
/bin/bash -c 'git config --global --add safe.directory "*" && ${{ inputs.command }}'
- name: esp-idf build
uses: espressif/esp-idf-ci-action@v1
with:
esp_idf_version: v6.0.2
target: esp32c6
path: '/'
- name: esp-idf build (verbose)
run: export IDF_TARGET=$(echo "esp32c6" | tr '[:upper:]' '[:lower:]' | tr -d '_-')
docker run -t \
-e IDF_TARGET="${IDF_TARGET}" \
-v "${GITHUB_WORKSPACE}:/app/${{ github.repository }}" \
-w "/app/${{ github.repository }}" \
espressif/idf:v6.0.2 \
/bin/bash -c 'git config --global --add safe.directory "*" && ${{ inputs.command }}'