Skip to content

Commit 7c52321

Browse files
author
Amit Sheth
committed
Merge branch 'fix/ci_fixes' into 'master'
Update .gitlab-ci.yml for release/202406.01-LTS See merge request app-frameworks/esp-aws-iot!72
2 parents cd1bd3b + 2f00467 commit 7c52321

File tree

1 file changed

+25
-15
lines changed

1 file changed

+25
-15
lines changed

.gitlab-ci.yml

Lines changed: 25 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,17 @@ before_script:
1818
- mkdir -p $CI_PROJECT_DIR/esp-rainmaker-bins-${CI_JOB_ID}
1919

2020
.build_all_examples: &build_all_examples
21-
- pip install --upgrade idf-component-manager
21+
# - pip install --upgrade idf-component-manager
2222
- for EXAMPLE in $EXAMPLES; do
2323
- cd $CI_PROJECT_DIR/examples/$EXAMPLE
2424
- echo Building $EXAMPLE
2525
- for TARGET in $EXAMPLE_TARGETS; do
2626
- echo Building for $TARGET
27-
- idf.py set-target $TARGET
27+
- if [ "$TARGET" = "esp32c5" ]; then
28+
- echo "ESP32-C5 detected, adding --preview flag."
29+
- PREVIEW_FLAG="--preview"
30+
- fi
31+
- idf.py $PREVIEW_FLAG set-target $TARGET
2832
- idf.py build
2933
- done
3034
- echo Build Complete for $EXAMPLE
@@ -40,30 +44,36 @@ before_script:
4044
EXTRA_CFLAGS: "${PEDANTIC_FLAGS}"
4145
EXTRA_CXXFLAGS: "${PEDANTIC_FLAGS}"
4246
EXAMPLE_TARGETS: "esp32"
43-
EXAMPLES: "mqtt/tls_mutual_auth http/http_mutual_auth jobs mqtt/tls_mutual_auth ota/ota_mqtt ota/ota_http thing_shadow fleet_provisioning/fleet_provisioning_with_csr"
47+
EXAMPLES: "mqtt/tls_mutual_auth http/http_mutual_auth jobs thing_shadow fleet_provisioning/fleet_provisioning_with_csr"
4448
script:
4549
- *build_all_examples
4650

47-
build_idf_v4.3:
51+
build_idf_v5.1:
4852
extends: .build_template
49-
image: espressif/idf:release-v4.3
53+
image: espressif/idf:release-v5.1
5054
variables:
51-
EXAMPLE_TARGETS: "esp32 esp32s2 esp32c3"
55+
EXAMPLE_TARGETS: "esp32 esp32c3 esp32s2 esp32s3 esp32c2 esp32c6"
5256

53-
build_idf_v4.4:
57+
build_idf_v5.2:
5458
extends: .build_template
55-
image: espressif/idf:release-v4.4
59+
image: espressif/idf:release-v5.2
5660
variables:
57-
EXAMPLE_TARGETS: "esp32 esp32s2 esp32c3 esp32s3"
61+
EXAMPLE_TARGETS: "esp32 esp32c3 esp32s2 esp32s3 esp32c2 esp32c6"
5862

59-
build_idf_v5.0:
63+
build_idf_v5.3:
6064
extends: .build_template
61-
image: espressif/idf:release-v5.0
65+
image: espressif/idf:release-v5.3
6266
variables:
63-
EXAMPLE_TARGETS: "esp32 esp32s2 esp32c3 esp32s3 esp32c2"
67+
EXAMPLE_TARGETS: "esp32 esp32c3 esp32s2 esp32s3 esp32c2 esp32c6"
6468

65-
build_idf_v5.1:
69+
build_idf_v5.4:
6670
extends: .build_template
67-
image: espressif/idf:release-v5.1
71+
image: espressif/idf:release-v5.4
72+
variables:
73+
EXAMPLE_TARGETS: "esp32 esp32c3 esp32s2 esp32s3 esp32c2 esp32c6"
74+
75+
build_idf_v5.5:
76+
extends: .build_template
77+
image: espressif/idf:release-v5.5
6878
variables:
69-
EXAMPLE_TARGETS: "esp32 esp32c3 esp32s3 esp32c2 esp32c6"
79+
EXAMPLE_TARGETS: "esp32 esp32c3 esp32s2 esp32s3 esp32c2 esp32c6 esp32c5"

0 commit comments

Comments
 (0)