ADD: added first version of drone configuration

This commit is contained in:
Dominik Meyer 2023-09-03 22:54:53 +02:00
parent c0e5c73716
commit 0c83bd76ea
Signed by untrusted user: byterazor
GPG Key ID: EABDA0FD5981BC97

29
.drone.yml Normal file
View File

@ -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