WhisperCom/.drone.yml

30 lines
642 B
YAML

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