diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 000000000..6ba5d0cea --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,20 @@ +image: python:3.9 + +variables: + PIP_CACHE_DIR: "$CI_PROJECT_DIR/.pip-cache" + PLATFORMIO_CACHE_DIR: "$CI_PROJECT_DIR/.platformio-cache" + +cache: + paths: + - .pip-cache/ + - .platformio-cache/ + +stages: + - build + +before_script: + - "pip install -U platformio" + +build_all: + stage: build + script: "pio run" \ No newline at end of file