lasp/.drone.yml
J.A. de Jong - Redu-Sone B.V., ASCEE V.O.F 628ba898c9
Some checks failed
continuous-integration/drone/push Build is failing
Merged in develop.
2023-08-30 21:44:20 +02:00

71 lines
1.1 KiB
YAML

kind: pipeline
type: docker
name: archlinux
clone:
depth: 50
steps:
- name: archlinux_build_test
image: archlinux:latest
pull: if-not-exists
volumes:
- name: archlinux_ccache
path: /root/.ccache
commands:
- scripts/build_archlinux.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_test
image: ubuntu:latest
pull: if-not-exists
volumes:
- name: ubuntu_ccache
path: /root/.ccache
environment:
commands:
- scripts/build_ubuntu.sh
volumes:
- name: ubuntu_ccache
host:
path: /tmp/ubuntu_ccache
---
kind: pipeline
type: docker
name: documentation_build
clone:
depth: 3
steps:
- name: build_documentation_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