mirror of
https://github.com/espressif/arduino-esp32
synced 2024-09-21 02:18:29 +00:00
ci(esp32p4): Add missing ESP32-P4 entries
This commit is contained in:
parent
488740b45a
commit
72643fa87f
1
.github/scripts/on-push.sh
vendored
1
.github/scripts/on-push.sh
vendored
@ -91,6 +91,7 @@ if [ "$BUILD_PIO" -eq 0 ]; then
|
||||
fi
|
||||
|
||||
#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 "esp32s2" "$CHUNK_INDEX" "$CHUNKS_CNT" "$BUILD_LOG" "$SKETCHES_FILE" "$SKETCHES_ESP32"
|
||||
build "esp32c3" "$CHUNK_INDEX" "$CHUNKS_CNT" "$BUILD_LOG" "$SKETCHES_FILE" "$SKETCHES_ESP32"
|
||||
|
4
.github/scripts/sketch_utils.sh
vendored
4
.github/scripts/sketch_utils.sh
vendored
@ -89,6 +89,7 @@ function build_sketch(){ # build_sketch <ide_path> <user_path> <path-to-ino> [ex
|
||||
esp32c3_opts="PartitionScheme=huge_app,FlashMode=dio"
|
||||
esp32c6_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
|
||||
# appended depending on the passed options.
|
||||
@ -112,6 +113,9 @@ function build_sketch(){ # build_sketch <ide_path> <user_path> <path-to-ino> [ex
|
||||
"esp32h2")
|
||||
fqbn="espressif:esp32:esp32h2:${options:-$esp32h2_opts}"
|
||||
;;
|
||||
"esp32p4")
|
||||
fqbn="espressif:esp32:esp32p4:${options:-$esp32p4_opts}"
|
||||
;;
|
||||
esac
|
||||
|
||||
# Make it look like a JSON array.
|
||||
|
3
.github/workflows/lib.yml
vendored
3
.github/workflows/lib.yml
vendored
@ -42,6 +42,7 @@ jobs:
|
||||
- esp32s3
|
||||
- esp32c6
|
||||
- esp32h2
|
||||
- esp32p4
|
||||
|
||||
include:
|
||||
- target: esp32
|
||||
@ -56,6 +57,8 @@ jobs:
|
||||
fqbn: espressif:esp32:esp32c6
|
||||
- target: esp32h2
|
||||
fqbn: espressif:esp32:esp32h2
|
||||
- target: esp32p4
|
||||
fqbn: espressif:esp32:esp32p4
|
||||
|
||||
|
||||
steps:
|
||||
|
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@ -88,7 +88,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
type: ${{ fromJson(needs.gen-matrix.outputs.build-types) }}
|
||||
chip: ['esp32', 'esp32s2', 'esp32s3', 'esp32c3', 'esp32c6', 'esp32h2']
|
||||
chip: ['esp32', 'esp32s2', 'esp32s3', 'esp32c3', 'esp32c6', 'esp32h2', 'esp32p4']
|
||||
with:
|
||||
type: ${{ matrix.type }}
|
||||
chip: ${{ matrix.chip }}
|
||||
@ -105,7 +105,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
type: ${{ fromJson(needs.gen-matrix.outputs.hw-types) }}
|
||||
chip: ['esp32', 'esp32s2', 'esp32s3', 'esp32c3', 'esp32c6', 'esp32h2']
|
||||
chip: ['esp32', 'esp32s2', 'esp32s3', 'esp32c3', 'esp32c6', 'esp32h2', 'esp32p4']
|
||||
with:
|
||||
type: ${{ matrix.type }}
|
||||
chip: ${{ matrix.chip }}
|
||||
|
2
.github/workflows/tests_wokwi.yml
vendored
2
.github/workflows/tests_wokwi.yml
vendored
@ -165,7 +165,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
type: ['validation']
|
||||
chip: ['esp32', 'esp32s2', 'esp32s3', 'esp32c3', 'esp32c6', 'esp32h2']
|
||||
chip: ['esp32', 'esp32s2', 'esp32s3', 'esp32c3', 'esp32c6', 'esp32h2', 'esp32p4']
|
||||
steps:
|
||||
- name: Report pending
|
||||
uses: actions/github-script@v7
|
||||
|
Loading…
Reference in New Issue
Block a user