WhisperCom/.drone.yml
Dominik Meyer 6422c368de
Some checks reported errors
continuous-integration/drone/push Build is passing
continuous-integration/drone Build encountered an error
ADD: also build on arm64
2023-09-04 12:04:47 +02:00

48 lines
1015 B
YAML

kind: pipeline
type: kubernetes
name: build-amd64
platform:
arch: amd64
node_selector:
kubernetes.io/arch: amd64
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: build-amd64
image: debian:bookworm-slim
commands:
- apt-get update
- apt-get -qy install gcc-12 libsodium-dev cmake make build-essential pkg-config
- mkdir build
- cd build; cmake ..
- make -j 4
- make test
---
kind: pipeline
type: kubernetes
name: build-arm64
platform:
arch: arm64
node_selector:
kubernetes.io/arch: arm64
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: build-arm64
image: debian:bookworm-slim
commands:
- apt-get update
- apt-get -qy install gcc-12 libsodium-dev cmake make build-essential pkg-config
- mkdir build
- cd build; cmake ..
- make -j 4
- make test