Take 2 on Ubuntu, better handling of extension code
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
f012244091
commit
e86913a208
18
.drone.yml
18
.drone.yml
@ -1,12 +1,12 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: archlinux_build
|
||||
name: archlinux
|
||||
|
||||
clone:
|
||||
depth: 50
|
||||
|
||||
steps:
|
||||
- name: build-arch
|
||||
- name: archlinux_build
|
||||
image: archlinux_build
|
||||
pull: if-not-exists
|
||||
volumes:
|
||||
@ -19,7 +19,7 @@ steps:
|
||||
# More than two makes ascee2 irresponsive for now
|
||||
- make -j2
|
||||
|
||||
- name: test-arch
|
||||
- name: archlinux_test
|
||||
image: archlinux_build
|
||||
pull: if-not-exists
|
||||
commands:
|
||||
@ -40,7 +40,7 @@ volumes:
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: ubuntu_build
|
||||
name: ubuntu
|
||||
|
||||
clone:
|
||||
depth: 3
|
||||
@ -50,7 +50,7 @@ volumes:
|
||||
path: /root/.ccache
|
||||
|
||||
steps:
|
||||
- name: build-ubuntu
|
||||
- name: ubuntu_build
|
||||
image: ubuntu
|
||||
pull: if-not-exists
|
||||
volumes:
|
||||
@ -58,18 +58,18 @@ steps:
|
||||
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
|
||||
- apt install -y git cmake 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
|
||||
- name: ubuntu_test
|
||||
image: ubuntu
|
||||
pull: if-not-exists
|
||||
commands:
|
||||
- apt update
|
||||
- apt install -y python3-pytest fftw pulseaudio python3-pip python3-scipy
|
||||
- apt install -y python3-pytest fftw pulseaudio python3-pip python3-scipy python3-h5py
|
||||
- pip install -r requirements.txt
|
||||
- pip install .
|
||||
- pytest-3
|
||||
|
Loading…
Reference in New Issue
Block a user