lasp/.drone.yml

55 lines
1.1 KiB
YAML
Raw Normal View History

kind: pipeline
type: docker
name: default
clone:
depth: 3
steps:
- name: restore-cache-with-filesystem
image: meltwater/drone-cache
pull: true
settings:
backend: "filesystem"
restore: true
cache_key: "volume"
archive_format: "gzip"
# filesystem_cache_root: "/tmp/cache"
mount:
- 'vendor'
volumes:
- name: cache
path: /tmp/cache
- name: build-release-arch
image: archlinux_build
pull: if-not-exists
commands:
- pacman -S pybind11 openblas fftw pulseaudio
- git submodule update --init --recursive
- cmake .
# More than two makes ascee2 irresponsive for now
- make -j2
- name: rebuild-cache-with-filesystem
image: meltwater/drone-cache
pull: true
settings:
backend: "filesystem"
rebuild: true
cache_key: "volume"
archive_format: "gzip"
# filesystem_cache_root: "/tmp/cache"
mount:
- 'vendor'
volumes:
- name: cache
path: /tmp/cache
volumes:
- name: cache
host:
path: /var/lib/cache