Commit 97563e66 authored by genofire's avatar genofire Committed by Rahix

ci: Add release step and deploy artifacts

parent 872e900b
......@@ -11,6 +11,21 @@ build:
- merge_requests
- master
release:
stage: build
script:
- ./bootstrap.sh
- ninja -C build/
- arm-none-eabi-size build/bootloader/bootloader.elf build/epicardium/epicardium.elf build/pycardium/pycardium.elf
only:
- tag
artifacts:
paths:
- build/bootloader/bootloader.elf
- build/epicardium/epicardium.elf
- build/pycardium/pycardium.elf
- build/pycardium/pycardium_epicardium.bin
lint:
stage: test
image: "derq3k/card10-lint-env:20190806-201106Z-f95b541-dirty"
......
......@@ -11,6 +11,9 @@ If you want to help us ensure the card10 will have been exactly as we reconstruc
## How To Build
A full guide for building is available in the docs as [How To Build](https://firmware.card10.badge.events.ccc.de/how-to-build.html).
Last Artifacts from Gitlab-CI: [![pipeline status](https://git.card10.badge.events.ccc.de/card10/firmware/badges/master/pipeline.svg)](https://git.card10.badge.events.ccc.de/card10/firmware/-/jobs/artifacts/master/browse/build/?job=release)
## How To Flash
Flasing with or without a debugger is described in detail in [How To Flash](https://firmware.card10.badge.events.ccc.de/how-to-flash.html).
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment