From caa13b0159998fee7be504a523f0469bad8d499d Mon Sep 17 00:00:00 2001 From: Dominik Meyer Date: Mon, 4 Sep 2023 21:50:56 +0200 Subject: [PATCH] ADD: add CI/CD flow --- .drone.yml | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..806e78c --- /dev/null +++ b/.drone.yml @@ -0,0 +1,48 @@ +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 cmake make build-essential + - 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 cmake make build-essential + - mkdir build + - cd build; cmake .. + - make -j 4 + - make test \ No newline at end of file