lasp/.drone.yml
J.A. de Jong - Redu-Sone B.V., ASCEE V.O.F b2a6133625
Some checks reported errors
continuous-integration/drone/push Build was killed
Submodule initialization should be done manually
2023-01-12 14:16:40 +01:00

49 lines
948 B
YAML

kind: pipeline
type: docker
name: archlinux_build
clone:
depth: 50
steps:
- name: build-arch
image: archlinux_build
pull: if-not-exists
volumes:
- name: archlinux_ccache
path: /root/.ccache
commands:
- git submodule update --init --recursive
- pacman -S --noconfirm ccache openblas fftw pulseaudio pybind11
- cmake .
# More than two makes ascee2 irresponsive for now
- make -j2
- name: test-arch
image: archlinux_build
pull: if-not-exists
commands:
- pacman -S --noconfirm openblas fftw pulseaudio python-pip python-scipy
- pip install -r requirements.txt
- pip install .
- pytest
volumes:
- name: archlinux_ccache
host:
path: /tmp/archlinux_ccache
---
kind: pipeline
type: docker
name: ubuntu_build
clone:
depth: 3
steps:
- name: build-ubuntu
image: ubuntu
pull: if-not-exists
commands:
- git submodule update --init --recursive