diff --git a/.drone.yml b/.drone.yml index 28f9891..b19a2e2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,12 +6,43 @@ clone: depth: 3 steps: - - name: build-release-arch + - name: build-arch image: archlinux_build pull: if-not-exists + volumes: + - name: archlinux_ccache + path: /root/.ccache commands: - - pacman -S --noconfirm pybind11 openblas fftw pulseaudio + - 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" diff --git a/README.md b/README.md index 39e3a07..7c0fc19 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ If you have any question(s), please feel free to contact us: info@ascee.nl. ## Dependencies -- `$ sudo apt install libopenblas-dev python3-pip python3-scipy libusb-dev libpulse-dev cmake-curses-gui python3-h5py` +- `$ sudo apt install python3-pybind11 libopenblas-dev python3-pip python3-scipy libusb-dev libpulse-dev cmake-curses-gui python3-h5py` - `$ pip3 install --user -r requirements.txt` diff --git a/requirements.txt b/requirements.txt index c46d0e7..c7a9274 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,3 @@ appdirs dataclasses_json +matplotlib