2023-01-10 20:18:50 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
2023-01-12 18:49:32 +00:00
|
|
|
name: archlinux
|
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 18:49:32 +00:00
|
|
|
- name: archlinux_build
|
2023-01-12 21:17:28 +00:00
|
|
|
image: archlinux_build:latest
|
2023-01-10 20:18:50 +00:00
|
|
|
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 19:13:42 +00:00
|
|
|
# The following command is not required, we included this in the docker
|
|
|
|
# image of archlinux_build
|
|
|
|
# - pacman -S --noconfirm ccache openblas fftw pulseaudio pybind11
|
2023-01-12 13:16:40 +00:00
|
|
|
- git submodule update --init --recursive
|
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 13:23:16 +00:00
|
|
|
|
2023-01-12 18:49:32 +00:00
|
|
|
- name: archlinux_test
|
2023-01-12 21:17:28 +00:00
|
|
|
image: archlinux_build:latest
|
2023-01-12 11:31:12 +00:00
|
|
|
pull: if-not-exists
|
|
|
|
commands:
|
2023-07-14 08:12:42 +00:00
|
|
|
- scripts/test.sh
|
2023-01-12 13:23:16 +00:00
|
|
|
|
2023-01-12 11:31:12 +00:00
|
|
|
volumes:
|
|
|
|
- name: archlinux_ccache
|
|
|
|
host:
|
|
|
|
path: /tmp/archlinux_ccache
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
2023-01-12 18:49:32 +00:00
|
|
|
name: ubuntu
|
2023-01-10 20:50:48 +00:00
|
|
|
|
2023-01-12 11:31:12 +00:00
|
|
|
clone:
|
|
|
|
depth: 3
|
|
|
|
|
2023-01-12 13:39:17 +00:00
|
|
|
volumes:
|
|
|
|
- name: archlinux_ccache
|
|
|
|
path: /root/.ccache
|
|
|
|
|
2023-01-12 11:31:12 +00:00
|
|
|
steps:
|
2023-01-12 18:49:32 +00:00
|
|
|
- name: ubuntu_build
|
2023-01-12 21:18:45 +00:00
|
|
|
image: ubuntu_build:latest
|
2023-01-12 11:31:12 +00:00
|
|
|
pull: if-not-exists
|
2023-01-12 13:39:17 +00:00
|
|
|
volumes:
|
|
|
|
- name: ubuntu_ccache
|
|
|
|
path: /root/.ccache
|
2023-07-14 08:12:42 +00:00
|
|
|
environment:
|
2023-01-12 11:31:12 +00:00
|
|
|
commands:
|
2023-01-12 19:13:42 +00:00
|
|
|
# The following commands are not required, we included this in the docker
|
2023-07-14 08:12:42 +00:00
|
|
|
# image of ubuntu_builud
|
|
|
|
- scripts/build_ubuntu.sh
|
2023-01-12 18:49:32 +00:00
|
|
|
- name: ubuntu_test
|
2023-01-12 21:18:45 +00:00
|
|
|
image: ubuntu_build:latest
|
2023-01-12 13:39:17 +00:00
|
|
|
pull: if-not-exists
|
|
|
|
commands:
|
2023-07-14 08:12:42 +00:00
|
|
|
- scripts/test.sh
|
2023-01-12 13:39:17 +00:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
- name: ubuntu_ccache
|
|
|
|
host:
|
|
|
|
path: /tmp/ubuntu_ccache
|
2023-01-20 10:45:34 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: documentation_build
|
|
|
|
|
|
|
|
clone:
|
|
|
|
depth: 3
|
|
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build_docker_master
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
repo: ascee/lasp_ascee_nl
|
|
|
|
tags: latest
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
when:
|
|
|
|
branch: master
|