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:
Ivan Grokhotkov 2016-09-01 15:13:15 +08:00
parent 6367268f99
commit 02e70abf84
1 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,9 @@ stages:
- test
- deploy
before_script:
- git submodule update --init --recursive
build_template_app:
stage: build
image: espressif/esp32-ci-env