Explorar o código

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.
Ivan Grokhotkov %!s(int64=9) %!d(string=hai) anos
pai
achega
af3f7d3ebe
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      .gitlab-ci.yml

+ 3 - 0
.gitlab-ci.yml

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