J.A. de Jong - Redu-Sone B.V., ASCEE V.O.F
13ba78d2cf
Some checks failed
continuous-integration/drone/push Build is failing
89 lines
2.2 KiB
YAML
89 lines
2.2 KiB
YAML
kind: pipeline
|
|
type: docker
|
|
name: archlinux
|
|
|
|
clone:
|
|
depth: 50
|
|
|
|
steps:
|
|
- name: archlinux_build
|
|
image: archlinux_build:latest
|
|
pull: if-not-exists
|
|
volumes:
|
|
- name: archlinux_ccache
|
|
path: /root/.ccache
|
|
commands:
|
|
# The following command is not required, we included this in the docker
|
|
# image of archlinux_build
|
|
# - pacman -S --noconfirm ccache openblas fftw pulseaudio pybind11
|
|
- git submodule update --init --recursive
|
|
- cmake .
|
|
# More than two makes ascee2 irresponsive for now
|
|
- make -j2
|
|
|
|
- name: archlinux_test
|
|
image: archlinux_build:latest
|
|
pull: if-not-exists
|
|
commands:
|
|
# The following command is not required, we included this in the docker
|
|
# image of archlinux_build
|
|
# - pacman -S --noconfirm openblas python-pytest fftw pulseaudio python-pip python-scipy python-h5py
|
|
- pip install -r requirements.txt
|
|
- pip install .
|
|
- pytest
|
|
|
|
# - name: release-arch
|
|
# commands:
|
|
# -
|
|
|
|
volumes:
|
|
- name: archlinux_ccache
|
|
host:
|
|
path: /tmp/archlinux_ccache
|
|
|
|
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: ubuntu
|
|
|
|
clone:
|
|
depth: 3
|
|
|
|
volumes:
|
|
- name: archlinux_ccache
|
|
path: /root/.ccache
|
|
|
|
steps:
|
|
- name: ubuntu_build
|
|
image: ubuntu:latest
|
|
pull: if-not-exists
|
|
volumes:
|
|
- name: ubuntu_ccache
|
|
path: /root/.ccache
|
|
commands:
|
|
# The following commands are not required, we included this in the docker
|
|
# image of ubuntu_build
|
|
#- apt update
|
|
#- 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: ubuntu_test
|
|
image: ubuntu:latest
|
|
pull: if-not-exists
|
|
commands:
|
|
# The following commands are not required, we included this in the docker
|
|
# image of ubuntu_build
|
|
#- apt update
|
|
#- apt install -y python3-pytest fftw pulseaudio python3-pip python3-scipy python3-h5py
|
|
- pip install -r requirements.txt
|
|
- pip install .
|
|
- pytest-3
|
|
|
|
volumes:
|
|
- name: ubuntu_ccache
|
|
host:
|
|
path: /tmp/ubuntu_ccache
|