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