From 0c83bd76eae053eef01ce389fd81ffa06031a02c Mon Sep 17 00:00:00 2001 From: Dominik Meyer Date: Sun, 3 Sep 2023 22:54:53 +0200 Subject: [PATCH] ADD: added first version of drone configuration --- .drone.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..478cec6 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,29 @@ +kind: pipeline +type: kubernetes +name: build-amd64 +platform: + arch: amd64 +node_selector: + kubernetes.io/arch: amd64 + +volumes: +- name: fedhq-ca-crt + config_map: + name: fedhq-ca-crt + default_mode: 420 # same as 644 in octal, or u+w,a+r + optional: false + +steps: + - name: build-amd64 + image: debian:bookworm-slim + volumes: + - name: fedhq-ca-crt + path: /etc/ssl/certs2/ + - name: cache + path: /var/lib/containers/storage + commands: + - apt-get -qy clang-15 libsodium-dev libpgm-dev + - mkdir build + - cd build; CC=clang-15 CXX=clang++-15 cmake .. + - make -j 4 + - make test