Possible candidate for ubuntu build and arch build
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Anne de Jong 2023-01-12 14:39:17 +01:00
parent 0d65b1316b
commit 54b2fcc5e9

View File

@ -45,9 +45,36 @@ name: ubuntu_build
clone: clone:
depth: 3 depth: 3
volumes:
- name: archlinux_ccache
path: /root/.ccache
steps: steps:
- name: build-ubuntu - name: build-ubuntu
image: ubuntu image: ubuntu
pull: if-not-exists pull: if-not-exists
volumes:
- name: ubuntu_ccache
path: /root/.ccache
commands: 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 - 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