fiatlux/.build.yml
jedi 755c810024
Some checks reported errors
continuous-integration/drone/push Build encountered an error
trigger
2026-09-29 20:08:36 +02:00

71 lines
1.4 KiB
YAML

kind: pipeline
type: docker
name: default
image:
tasks:
-
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive --depth 1
- name: firmware
image: docker-repo.service.intern.lab.or.it:5000/fiatlux-build-env
depends_on: [ submodules ]
commands:
- export PATH=$(pwd)/modules/sdk/xtensa-lx106-elf/bin:$PATH
- apt update
- apt install -y minify
- make firmware -j$(nproc)
#- name: pcb
# image: setsoft/kicad_auto:ki6
# commands:
# - apt update
# - apt install -y make zip
## - make pcb -j$(nproc) BOARD=fiatlux
## - make pcb -j$(nproc) BOARD=fiatlux_cc48
#
#- name: case
# image: debian:sid
# commands:
# - apt update
# - apt install -y make
# - make case -j$(nproc)
- name: unittest
image: debian:sid
depends_on: [ firmware ]
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
- firmware/otaflash.py
- pcb/fiatlux_pcb.zip
- pcb/fiatlux_cc48_pcb.zip
checksum:
- sha512
- md5
title: fiatlux
when:
event: tag