ADD: added first version of drone configuration
Some checks reported errors
continuous-integration/drone Build encountered an error
Some checks reported errors
continuous-integration/drone Build encountered an error
This commit is contained in:
parent
c0e5c73716
commit
0c83bd76ea
29
.drone.yml
Normal file
29
.drone.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user