Skip to content

Commit

Permalink
ci(ESPAT-2017): Added at_wifi_function_test jobs for esp32s2 and esp32c6
Browse files Browse the repository at this point in the history
- Used common scripts for at_wifi_function_test series jobs
  • Loading branch information
ustccw committed Jun 20, 2024
1 parent 6666188 commit 751a8a1
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 751a8a1

Please sign in to comment.