From 4a8481a2d3e54fcfea956dc39f292bb4632e5aef Mon Sep 17 00:00:00 2001 From: Richard Bowman Date: Tue, 28 Feb 2023 10:35:05 +0000 Subject: [PATCH] Save pico firmware as an artifact In the future, we could put this on the build server. --- .gitlab-ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d6c5426..72bafda 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,6 +15,12 @@ stages: before_script: - "pip install -U platformio" -job: +build: stage: build - script: "pio run -e nano -e leonardo -e pico -e bluepill -e esp32" \ No newline at end of file + 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/* \ No newline at end of file