lasp/.drone.yml

48 lines
881 B
YAML
Raw Normal View History

kind: pipeline
type: docker
2023-01-12 11:02:05 +00:00
name: archlinux_build
clone:
2023-01-12 13:11:12 +00:00
depth: 50
steps:
2023-01-12 11:31:12 +00:00
- name: build-arch
image: archlinux_build
pull: if-not-exists
2023-01-12 11:31:12 +00:00
volumes:
- name: archlinux_ccache
path: /root/.ccache
commands:
2023-01-12 13:13:20 +00:00
- pacman -S --noconfirm ccache openblas fftw pulseaudio pybind11
- cmake .
# More than two makes ascee2 irresponsive for now
- make -j2
2023-01-12 11:31:12 +00:00
- 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
2023-01-12 11:31:12 +00:00
clone:
depth: 3
steps:
- name: build-ubuntu
image: ubuntu
pull: if-not-exists
commands:
- echo "Hello world"