From 6422c368de06d01e05cfc0bc16447d933ea2aa9d Mon Sep 17 00:00:00 2001 From: Dominik Meyer Date: Mon, 4 Sep 2023 12:04:47 +0200 Subject: [PATCH] ADD: also build on arm64 --- .drone.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.drone.yml b/.drone.yml index 1ba2d39..5470f6d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -21,3 +21,28 @@ steps: - 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 \ No newline at end of file