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.
pull/2/merge
Ivan Grokhotkov 2016-08-22 15:02:22 +08:00
rodzic f853f94335
commit 387c05b560
2 zmienionych plików z 12 dodań i 1 usunięć

11
.gitlab-ci.yml 100644
Wyświetl plik

@ -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
Wyświetl plik

@ -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