Skip to content

Commit

Permalink
Merge branch 'ci/update_some_jobs' into 'master'
Browse files Browse the repository at this point in the history
ci(ESPAT-2017): Added at_wifi_function_test jobs for esp32s2 and esp32c6

See merge request application/esp-at!1576
  • Loading branch information
xcguang committed Jun 21, 2024
2 parents 6666188 + 751a8a1 commit 230aae8
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .gitlab/ci/build_esp32.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ esp32_sdio_at:
esp32_at_wifi_function_test:
extends:
- .build_template_esp32
- .before_script_esp32_enable_all_wifi_cmds
- .before_script_enable_all_wifi_cmds
- .rules:build:build_project_on_protected
variables:
MODULE_NAME: "WROVER-32"
Expand Down
2 changes: 1 addition & 1 deletion .gitlab/ci/build_esp32c2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ esp32c2_4mb_at_xtal_40mhz_test:
esp32c2_at_wifi_function_test:
extends:
- .build_template_esp32c2
- .before_script_esp32c2_enable_all_wifi_cmds
- .before_script_enable_all_wifi_cmds
- .rules:build:build_project_on_protected
variables:
MODULE_NAME: "ESP32C2-4MB"
4 changes: 2 additions & 2 deletions .gitlab/ci/build_esp32c3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ esp32c3_rainmaker:
variables:
MODULE_NAME: "ESP32C3_RAINMAKER"

esp32c3_at_full_function_test:
esp32c3_at_wifi_function_test:
extends:
- .build_template_esp32c3
- .before_script_esp32c3_enable_all_wifi_cmds
- .before_script_enable_all_wifi_cmds
- .rules:build:build_project_on_protected
variables:
MODULE_NAME: "MINI-1"
8 changes: 8 additions & 0 deletions .gitlab/ci/build_esp32c6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,11 @@ esp32c6_4mb_at_tat_debug:
- .rules:build:build_project_on_protected
variables:
MODULE_NAME: "ESP32C6-4MB"

esp32c6_at_wifi_function_test:
extends:
- .build_template_esp32c6
- .before_script_enable_all_wifi_cmds
- .rules:build:build_project_on_protected
variables:
MODULE_NAME: "ESP32C6-4MB"
8 changes: 8 additions & 0 deletions .gitlab/ci/build_esp32s2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,11 @@ esp32s2_mini_at_tat_debug:
- .rules:build:build_project_on_protected
variables:
MODULE_NAME: "MINI"

esp32s2_at_wifi_function_test:
extends:
- .build_template_esp32s2
- .before_script_enable_all_wifi_cmds
- .rules:build:build_project_on_protected
variables:
MODULE_NAME: "MINI"
20 changes: 1 addition & 19 deletions .gitlab/ci/build_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,12 +216,11 @@
- *enable_at_debugs
- *enlarge_app_partition

.before_script_esp32_enable_all_wifi_cmds:
.before_script_enable_all_wifi_cmds:
before_script:
- source ${CI_PROJECT_DIR}/.gitlab/ci/utils.sh
- add_gitlab_ssh_keys
- get_module_configs
- *setup_tokens_esp32
- *enable_all_wifi_cmds
- *disable_ble_cmds
- *enlarge_app_partition
Expand Down Expand Up @@ -253,23 +252,6 @@
- *setup_tokens_esp32c2
- *enable_40mhz_xtal

.before_script_esp32c2_enable_all_wifi_cmds:
before_script:
- source ${CI_PROJECT_DIR}/.gitlab/ci/utils.sh
- add_gitlab_ssh_keys
- get_module_configs
- *setup_tokens_esp32c2
- *enable_all_wifi_cmds

.before_script_esp32c3_enable_all_wifi_cmds:
before_script:
- source ${CI_PROJECT_DIR}/.gitlab/ci/utils.sh
- add_gitlab_ssh_keys
- get_module_configs
- *setup_tokens_esp32c3
- *enable_all_wifi_cmds
- *enlarge_app_partition

#####################
# Build at examples #
#####################
Expand Down

0 comments on commit 230aae8

Please sign in to comment.