lasp/.drone.yml
J.A. de Jong - Redu-Sone B.V., ASCEE V.O.F 6872988e49
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone Build encountered an error
Bugfix yaml drone
2023-01-10 21:52:08 +01:00

55 lines
1.1 KiB
YAML

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