ci(esp32p4): Add missing ESP32-P4 entries

This commit is contained in:
Lucas Saavedra Vaz 2024-09-19 20:02:13 -03:00
parent 488740b45a
commit 72643fa87f
No known key found for this signature in database
GPG Key ID: 9CAE85DC84A38188
5 changed files with 11 additions and 3 deletions

View File

@ -91,6 +91,7 @@ if [ "$BUILD_PIO" -eq 0 ]; then
fi fi
#build sketches for different targets #build sketches for different targets
build "esp32p4" "$CHUNK_INDEX" "$CHUNKS_CNT" "$BUILD_LOG" "$SKETCHES_FILE" "$SKETCHES_ESP32"
build "esp32s3" "$CHUNK_INDEX" "$CHUNKS_CNT" "$BUILD_LOG" "$SKETCHES_FILE" "$SKETCHES_ESP32" build "esp32s3" "$CHUNK_INDEX" "$CHUNKS_CNT" "$BUILD_LOG" "$SKETCHES_FILE" "$SKETCHES_ESP32"
build "esp32s2" "$CHUNK_INDEX" "$CHUNKS_CNT" "$BUILD_LOG" "$SKETCHES_FILE" "$SKETCHES_ESP32" build "esp32s2" "$CHUNK_INDEX" "$CHUNKS_CNT" "$BUILD_LOG" "$SKETCHES_FILE" "$SKETCHES_ESP32"
build "esp32c3" "$CHUNK_INDEX" "$CHUNKS_CNT" "$BUILD_LOG" "$SKETCHES_FILE" "$SKETCHES_ESP32" build "esp32c3" "$CHUNK_INDEX" "$CHUNKS_CNT" "$BUILD_LOG" "$SKETCHES_FILE" "$SKETCHES_ESP32"

View File

@ -89,6 +89,7 @@ function build_sketch(){ # build_sketch <ide_path> <user_path> <path-to-ino> [ex
esp32c3_opts="PartitionScheme=huge_app,FlashMode=dio" esp32c3_opts="PartitionScheme=huge_app,FlashMode=dio"
esp32c6_opts="PartitionScheme=huge_app,FlashMode=dio" esp32c6_opts="PartitionScheme=huge_app,FlashMode=dio"
esp32h2_opts="PartitionScheme=huge_app,FlashMode=dio" esp32h2_opts="PartitionScheme=huge_app,FlashMode=dio"
esp32p4_opts="PartitionScheme=huge_app,FlashMode=dio"
# Select the common part of the FQBN based on the target. The rest will be # Select the common part of the FQBN based on the target. The rest will be
# appended depending on the passed options. # appended depending on the passed options.
@ -112,6 +113,9 @@ function build_sketch(){ # build_sketch <ide_path> <user_path> <path-to-ino> [ex
"esp32h2") "esp32h2")
fqbn="espressif:esp32:esp32h2:${options:-$esp32h2_opts}" fqbn="espressif:esp32:esp32h2:${options:-$esp32h2_opts}"
;; ;;
"esp32p4")
fqbn="espressif:esp32:esp32p4:${options:-$esp32p4_opts}"
;;
esac esac
# Make it look like a JSON array. # Make it look like a JSON array.

View File

@ -42,6 +42,7 @@ jobs:
- esp32s3 - esp32s3
- esp32c6 - esp32c6
- esp32h2 - esp32h2
- esp32p4
include: include:
- target: esp32 - target: esp32
@ -56,6 +57,8 @@ jobs:
fqbn: espressif:esp32:esp32c6 fqbn: espressif:esp32:esp32c6
- target: esp32h2 - target: esp32h2
fqbn: espressif:esp32:esp32h2 fqbn: espressif:esp32:esp32h2
- target: esp32p4
fqbn: espressif:esp32:esp32p4
steps: steps:

View File

@ -88,7 +88,7 @@ jobs:
strategy: strategy:
matrix: matrix:
type: ${{ fromJson(needs.gen-matrix.outputs.build-types) }} type: ${{ fromJson(needs.gen-matrix.outputs.build-types) }}
chip: ['esp32', 'esp32s2', 'esp32s3', 'esp32c3', 'esp32c6', 'esp32h2'] chip: ['esp32', 'esp32s2', 'esp32s3', 'esp32c3', 'esp32c6', 'esp32h2', 'esp32p4']
with: with:
type: ${{ matrix.type }} type: ${{ matrix.type }}
chip: ${{ matrix.chip }} chip: ${{ matrix.chip }}
@ -105,7 +105,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
type: ${{ fromJson(needs.gen-matrix.outputs.hw-types) }} type: ${{ fromJson(needs.gen-matrix.outputs.hw-types) }}
chip: ['esp32', 'esp32s2', 'esp32s3', 'esp32c3', 'esp32c6', 'esp32h2'] chip: ['esp32', 'esp32s2', 'esp32s3', 'esp32c3', 'esp32c6', 'esp32h2', 'esp32p4']
with: with:
type: ${{ matrix.type }} type: ${{ matrix.type }}
chip: ${{ matrix.chip }} chip: ${{ matrix.chip }}

View File

@ -165,7 +165,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
type: ['validation'] type: ['validation']
chip: ['esp32', 'esp32s2', 'esp32s3', 'esp32c3', 'esp32c6', 'esp32h2'] chip: ['esp32', 'esp32s2', 'esp32s3', 'esp32c3', 'esp32c6', 'esp32h2', 'esp32p4']
steps: steps:
- name: Report pending - name: Report pending
uses: actions/github-script@v7 uses: actions/github-script@v7