@@ -1,8 +1,5 @@
|
|||||||
name: Build
|
name: Build
|
||||||
|
|
||||||
log:
|
|
||||||
level: debug
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
pull_request:
|
pull_request:
|
||||||
@@ -17,11 +14,28 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
submodules: 'recursive'
|
submodules: 'recursive'
|
||||||
path:
|
path:
|
||||||
- run: cd ${GITHUB_WORKSPACE}; ls
|
|
||||||
|
|
||||||
|
- 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
|
- name: esp-idf build
|
||||||
uses: espressif/esp-idf-ci-action@v1
|
uses: espressif/esp-idf-ci-action@v1
|
||||||
with:
|
with:
|
||||||
esp_idf_version: v6.0.2
|
esp_idf_version: v6.0.2
|
||||||
target: esp32c6
|
target: esp32c6
|
||||||
path: '/'
|
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 }}'
|
||||||
Reference in New Issue
Block a user