2023-01-10 20:18:50 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
2023-01-12 11:02:05 +00:00
|
|
|
name: archlinux_build
|
2023-01-10 20:18:50 +00:00
|
|
|
|
2023-01-10 20:50:48 +00:00
|
|
|
clone:
|
2023-01-12 13:11:12 +00:00
|
|
|
depth: 50
|
2023-01-10 20:50:48 +00:00
|
|
|
|
2023-01-10 20:18:50 +00:00
|
|
|
steps:
|
2023-01-12 11:31:12 +00:00
|
|
|
- name: build-arch
|
2023-01-10 20:18:50 +00:00
|
|
|
image: archlinux_build
|
|
|
|
pull: if-not-exists
|
2023-01-12 11:31:12 +00:00
|
|
|
volumes:
|
|
|
|
- name: archlinux_ccache
|
|
|
|
path: /root/.ccache
|
2023-01-10 20:18:50 +00:00
|
|
|
commands:
|
2023-01-12 13:13:20 +00:00
|
|
|
- pacman -S --noconfirm ccache openblas fftw pulseaudio pybind11
|
2023-01-10 20:18:50 +00:00
|
|
|
- cmake .
|
2023-01-10 20:50:48 +00:00
|
|
|
# More than two makes ascee2 irresponsive for now
|
|
|
|
- make -j2
|
2023-01-12 11:31:12 +00:00
|
|
|
- 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
|
2023-01-10 20:50:48 +00:00
|
|
|
|
2023-01-12 11:31:12 +00:00
|
|
|
clone:
|
|
|
|
depth: 3
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build-ubuntu
|
|
|
|
image: ubuntu
|
|
|
|
pull: if-not-exists
|
|
|
|
commands:
|
|
|
|
- echo "Hello world"
|