gitlab-ci: update submodules before build
Gitlab CI will cache build directory per branch and per build step. Also it doesn't try to update submodules. We have to do this manually because otherwise we end up with old version of submodule in cached directory.
This commit is contained in:
parent
7ee4ec0d18
commit
af3f7d3ebe
1 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,9 @@ stages:
|
||||||
- test
|
- test
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- git submodule update --init --recursive
|
||||||
|
|
||||||
build_template_app:
|
build_template_app:
|
||||||
stage: build
|
stage: build
|
||||||
image: espressif/esp32-ci-env
|
image: espressif/esp32-ci-env
|
||||||
|
|
Loading…
Reference in a new issue