25 lines
677 B
YAML
25 lines
677 B
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:
|
|
|
|
- name: esp-idf build (verbose)
|
|
run: docker run -t -e IDF_TARGET="esp32c6" -v "${GITHUB_WORKSPACE}:/app/${{ github.repository }}" -w "/app/${{ github.repository }}" espressif/idf:v6.0.2 /bin/bash -c 'ls /app/ && git config --global --add safe.directory "*" && idf.py build'
|
|
- name: esp-idf build
|
|
uses: espressif/esp-idf-ci-action@v1
|
|
with:
|
|
esp_idf_version: v6.0.2
|
|
target: esp32c6
|
|
path: '/' |