J.A. de Jong - Redu-Sone B.V., ASCEE V.O.F
dbd9c7c1af
Some checks reported errors
continuous-integration/drone/push Build encountered an error
90 lines
1.6 KiB
YAML
90 lines
1.6 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 .
|
|
- make -j
|
|
|
|
- name: archlinux_test
|
|
image: archlinux_build:latest
|
|
pull: if-not-exists
|
|
commands:
|
|
- scripts/test.sh
|
|
|
|
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_build:latest
|
|
pull: if-not-exists
|
|
volumes:
|
|
- name: ubuntu_ccache
|
|
path: /root/.ccache
|
|
environment:
|
|
commands:
|
|
# The following commands are not required, we included this in the docker
|
|
# image of ubuntu_builud
|
|
- scripts/build_ubuntu.sh
|
|
- name: ubuntu_test
|
|
image: ubuntu_build:latest
|
|
pull: if-not-exists
|
|
commands:
|
|
- scripts/test.sh
|
|
|
|
volumes:
|
|
- name: ubuntu_ccache
|
|
host:
|
|
path: /tmp/ubuntu_ccache
|
|
|
|
---
|
|
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
|