Skip to content

Commit 8820d10

Browse files
committed
Merge branch 'bugfix/ci_sync_submodule_before_compile' into 'master'
ci: download submodule before compiling in case of examples checking error See merge request sdk/ESP8266_RTOS_SDK!1103
2 parents 1e1caa4 + 5a3ea9b commit 8820d10

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.gitlab-ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ before_script:
2323
before_script: &do_nothing_before
2424
# apply bot filter in before script
2525
- *apply_bot_filter
26-
- echo "Not setting up GitLab key, not fetching submodules"
26+
- echo "Not setting up GitLab key, fetching submodules ..."
27+
- git submodule update --init --recursive
2728
- source tools/ci/configure_ci_environment.sh
2829

2930
.build_template: &build_template
@@ -121,6 +122,7 @@ build_docs:
121122
- $BOT_LABEL_BUILD
122123
- $BOT_LABEL_EXAMPLE_TEST
123124
- $BOT_LABEL_REGULAR_TEST
125+
before_script: *do_nothing_before
124126
script:
125127
# it's not possible to build 100% out-of-tree and have the "artifacts"
126128
# mechanism work, but this is the next best thing
@@ -147,6 +149,7 @@ build_docs:
147149
- $BOT_LABEL_BUILD
148150
- $BOT_LABEL_EXAMPLE_TEST
149151
- $BOT_LABEL_REGULAR_TEST
152+
before_script: *do_nothing_before
150153
script:
151154
# it's not possible to build 100% out-of-tree and have the "artifacts"
152155
# mechanism work, but this is the next best thing

0 commit comments

Comments
 (0)