Add build CI script

This commit is contained in:
Filip Ayazi 2021-07-18 05:34:24 +01:00
parent e48f5e9bbf
commit 6919f63009

20
.gitlab-ci.yml Normal file
View file

@ -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"
job:
stage: build
script: "pio run -e nano -e leonardo -e pico -e bluepill"