J.A. de Jong - Redu-Sone B.V., ASCEE V.O.F
e128cc69ec
Some checks reported errors
continuous-integration/drone/push Build encountered an error
56 lines
1.1 KiB
YAML
56 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
|
|
---
|
|
|
|
|