Enable Gitlab CI builds (#1)

Currently only builds for BOARD=devboard and uploads the bin and elf files.
This commit is contained in:
2020-05-04 01:04:14 +00:00
parent e5057da888
commit 2fa4a5e658
3 changed files with 16 additions and 12 deletions

View File

@@ -1,11 +0,0 @@
---
kind: pipeline
type: docker
name: build
steps:
- name: build
image: registry.lan/arm-build
commands:
- make -C ./firmware/

15
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,15 @@
image: registry.gitlab.maxregan.me/max/arm-build-image:latest
build:
stage: build
variables:
BOARD: "devboard"
GIT_SUBMODULE_STRATEGY: "recursive"
script:
- make -C ./firmware/
artifacts:
paths:
- "firmware/Test/*.elf"
- "firmware/Test/*.bin"
- "firmware/Application/*.elf"
- "firmware/Application/*.bin"

View File

@@ -1 +1 @@
[![Build Status](https://drone.lan/api/badges/max/Timely-Reference/status.svg)](https://drone.lan/max/Timely-Reference)