From: Michael Wallner Date: Mon, 21 Dec 2020 08:44:54 +0000 (+0100) Subject: ci: sr.ht alpine X-Git-Tag: 1.1.0-beta1~19 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=844026ddb563959b8327bff40b976c41644fa2d2;p=m6w6%2Flibmemcached ci: sr.ht alpine --- 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