From 9d9180fdcbe95e5388cb9c98fe0539942ef3fa51 Mon Sep 17 00:00:00 2001 From: Christian Zimmermann Date: Thu, 31 Aug 2023 12:12:52 +0200 Subject: [PATCH] add .woodpecker.yml --- .woodpecker.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .woodpecker.yml diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..e3846c9 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,18 @@ +--- + +steps: + build: + image: chizeta/centos:8 + commands: + - source /opt/rh/gcc-toolset-9/enable + - mkdir build-gcc + - cd build-gcc + - cmake3 .. + - make -j2 + - make test + - cd .. + - mkdir build-clang + - cd build-clang + - CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake3 .. + - make -j2 + - make test