sangaboard-firmware/.gitlab-ci.yml
Richard Bowman 4a8481a2d3 Save pico firmware as an artifact
In the future, we could put this on the build server.
2023-02-28 10:35:05 +00:00

26 lines
No EOL
469 B
YAML

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:
stage: build
script:
- "pio run -e nano -e leonardo -e pico -e bluepill -e esp32"
- mkdir -p builds
- cp .pio/build/pico/firmware.uf2 builds/
artifacts:
paths:
- builds/*