gitlab-ci: initial version

This change adds gitlab CI support. It tests if latest master of esp-idf-template can be built with the commit of ESP-IDF in question. Currently it's a bit lax because both SDK_PATH and IDF_PATH are defined.
This change also changes components/esp32/lib submodule to point to Github over HTTPS instead of SSH, because CI server might not have its SSH keys uploaded to Github.
This commit is contained in:
Ivan Grokhotkov 2016-08-22 15:02:22 +08:00
parent f853f94335
commit 387c05b560
2 changed files with 12 additions and 1 deletions

11
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,11 @@
build_template_app:
image: espressif/esp32-ci-env
variables:
SDK_PATH: "$CI_PROJECT_DIR"
IDF_PATH: "$CI_PROJECT_DIR"
script:
- git clone https://github.com/espressif/esp-idf-template.git
- cd esp-idf-template
- make all

2
.gitmodules vendored
View File

@ -1,3 +1,3 @@
[submodule "components/esp32/lib"]
path = components/esp32/lib
url = ssh://git@github.com:espressif/esp32-wifi-lib.git
url = https://github.com/espressif/esp32-wifi-lib.git