Possible candidate for ubuntu build and arch build
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
0d65b1316b
commit
54b2fcc5e9
27
.drone.yml
27
.drone.yml
@ -45,9 +45,36 @@ name: ubuntu_build
|
||||
clone:
|
||||
depth: 3
|
||||
|
||||
volumes:
|
||||
- name: archlinux_ccache
|
||||
path: /root/.ccache
|
||||
|
||||
steps:
|
||||
- name: build-ubuntu
|
||||
image: ubuntu
|
||||
pull: if-not-exists
|
||||
volumes:
|
||||
- name: ubuntu_ccache
|
||||
path: /root/.ccache
|
||||
commands:
|
||||
- apt update
|
||||
- apt install -y git python3-pybind11 libopenblas-dev python3-pip python3-scipy libusb-1.0-0-dev libpulse-dev python3-h5py fftw-dev
|
||||
- git submodule update --init --recursive
|
||||
- cmake .
|
||||
# More than two makes ascee2 irresponsive for now
|
||||
- make -j2
|
||||
|
||||
- name: test-ubuntu
|
||||
image: ubuntu_build
|
||||
pull: if-not-exists
|
||||
commands:
|
||||
- apt update
|
||||
- apt install -y python3-pytest fftw pulseaudio python3-pip python3-scipy
|
||||
- pip install -r requirements.txt
|
||||
- pip install .
|
||||
- pytest-3
|
||||
|
||||
volumes:
|
||||
- name: ubuntu_ccache
|
||||
host:
|
||||
path: /tmp/ubuntu_ccache
|
||||
|
Loading…
Reference in New Issue
Block a user