fiatlux/.build.yml

68 lines
1.3 KiB
YAML
Raw Normal View History

2021-06-19 14:42:38 +00:00
kind: pipeline
type: docker
name: default
image:
tasks:
-
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: firmware
image: docker-repo.service.intern.lab.or.it:5000/fiatlux-build-env
depends_on: [ submodules ]
2021-06-19 14:42:38 +00:00
commands:
- export PATH=$(pwd)/modules/sdk/xtensa-lx106-elf/bin:$PATH
- make firmware -j$(nproc)
- name: pcb
image: setsoft/kicad_auto
commands:
- apt update
- apt install -y make zip
- make pcb -j$(nproc)
- name: case
image: debian:sid
commands:
- apt update
- apt install -y make
- make case -j$(nproc)
- name: unittest
image: debian:sid
depends_on: [ firmware ]
2021-06-19 14:42:38 +00:00
commands:
- apt update
- apt install -y make
- make -C firmware unittest
- name: systest
image: debian:sid
depends_on: [ firmware ]
commands:
- apt update
- apt install -y make
- make -C firmware systest
- name: gitea_release
image: plugins/gitea-release
depends_on: [ firmware, pcb, case, unittest, systest ]
settings:
api_key:
from_secret: j3d1_droneio_key
base_url: https://git.neulandlabor.de/
files:
- firmware/firmware/fiatlux.bin
2021-07-23 22:40:45 +00:00
- firmware/otaflash.py
2021-07-12 18:51:38 +00:00
- pcb/pcb.zip
2021-06-19 14:42:38 +00:00
checksum:
- sha512
- md5
title: buildtest
when:
event: tag