lasp/.drone.yml

49 lines
910 B
YAML

kind: pipeline
type: docker
name: archlinux_build
clone:
depth: 3
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
- pip install -r requirements.txt
- 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"