lasp/.drone.yml

71 lines
1.1 KiB
YAML
Raw Normal View History

kind: pipeline
type: docker
name: archlinux
clone:
2023-01-12 13:11:12 +00:00
depth: 50
steps:
- name: archlinux_build_test
image: archlinux:latest
pull: if-not-exists
2023-01-12 11:31:12 +00:00
volumes:
- name: archlinux_ccache
path: /root/.ccache
commands:
- scripts/build_archlinux.sh
2023-01-12 11:31:12 +00:00
volumes:
- name: archlinux_ccache
host:
path: /tmp/archlinux_ccache
---
kind: pipeline
type: docker
name: ubuntu
2023-01-12 11:31:12 +00:00
clone:
depth: 3
volumes:
- name: archlinux_ccache
path: /root/.ccache
2023-01-12 11:31:12 +00:00
steps:
- name: ubuntu_build_test
image: ubuntu:latest
2023-01-12 11:31:12 +00:00
pull: if-not-exists
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-07-14 08:12:42 +00:00
- 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