From e128cc69ec7ee1d95aa21618984a9d7e67d0c67c Mon Sep 17 00:00:00 2001 From: "J.A. de Jong - Redu-Sone B.V., ASCEE V.O.F" Date: Tue, 10 Jan 2023 21:50:48 +0100 Subject: [PATCH] Updated drone config. Cached compilation --- .drone.yml | 46 ++++++++++++++++++++++++++++++++++++++++++++-- README.md | 2 ++ requirements.txt | 3 +++ 3 files changed, 49 insertions(+), 2 deletions(-) create mode 100644 requirements.txt diff --git a/.drone.yml b/.drone.yml index 1bfd77e..7f76c42 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,12 +2,54 @@ kind: pipeline type: docker name: default +clone: + depth: 3 + steps: - - name: build + - 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 . - - make -j + # 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 +--- diff --git a/README.md b/README.md index 98bfcc0..6125789 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Library for Acoustic Signal Processing +[![Build Status](https://drone.ascee.nl/api/badges/ASCEE/lasp/status.svg)](https://drone.ascee.nl/ASCEE/lasp) + Welcome to LASP: Library for Acoustic Signal Processing. LASP is a C++ library with a Python interface which is supposed to process (multi-) microphone acoustic data in real time on a PC and output results. diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..e985c14 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +dataclasses_json +h5py +