lasp/.drone.yml
J.A. de Jong - Redu-Sone B.V., ASCEE V.O.F 80c334d871
Some checks reported errors
continuous-integration/drone/push Build was killed
Added pybind11
2023-01-12 14:13:20 +01:00

48 lines
881 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:
- 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:
- echo "Hello world"