Add build CI script
This commit is contained in:
parent
e48f5e9bbf
commit
6919f63009
1 changed files with 20 additions and 0 deletions
20
.gitlab-ci.yml
Normal file
20
.gitlab-ci.yml
Normal 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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue