From 844026ddb563959b8327bff40b976c41644fa2d2 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Mon, 21 Dec 2020 09:44:54 +0100 Subject: [PATCH] ci: sr.ht alpine --- .builds/alpine.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .builds/alpine.yml diff --git a/.builds/alpine.yml b/.builds/alpine.yml new file mode 100644 index 00000000..1fbd9667 --- /dev/null +++ b/.builds/alpine.yml @@ -0,0 +1,27 @@ +image: alpine/latest +packages: + - bison + - cmake + - flex + - g++ + - libatomic + - libevent-dev + - libstdc++ + - memcached +sources: + - https://github.com/m6w6/libmemcached +secrets: + - 685c5b0a-395c-4031-97f8-97496bb6c25f +environment: + ENABLE_HASH_HSIEH: "ON" + ENABLE_MEMASLAP: "ON" + VERBOSE: "ON" +tasks: + - configure: | + cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=ON -S libmemcached -B debug + - build: | + cmake --build debug -j2 + - test: | + cmake --build debug -j2 --target test + - install: | + cmake --install debug --prefix /tmp -- 2.30.2