WhisperCom/.drone.yml

24 lines
545 B
YAML
Raw Normal View History

kind: pipeline
type: kubernetes
name: build-amd64
platform:
arch: amd64
node_selector:
kubernetes.io/arch: amd64
steps:
2023-09-03 23:02:02 +02:00
- name: submodules
2023-09-04 09:42:50 +02:00
image: alpine/git
2023-09-03 23:02:02 +02:00
commands:
2023-09-04 09:42:50 +02:00
- git submodule update --init --recursive
2023-09-03 23:02:02 +02:00
- name: build-amd64
image: debian:bookworm-slim
commands:
2023-09-03 22:58:17 +02:00
- apt-get update
2023-09-04 09:54:08 +02:00
- apt-get -qy install clang-15 libsodium-dev libpgm-dev cmake make build-essential pkg-config
- mkdir build
- cd build; CC=clang-15 CXX=clang++-15 cmake ..
- make -j 4
- make test