ci: sr.ht alpine
authorMichael Wallner <mike@php.net>
Mon, 21 Dec 2020 08:44:54 +0000 (09:44 +0100)
committerMichael Wallner <mike@php.net>
Mon, 21 Dec 2020 08:44:54 +0000 (09:44 +0100)
.builds/alpine.yml [new file with mode: 0644]

diff --git a/.builds/alpine.yml b/.builds/alpine.yml
new file mode 100644 (file)
index 0000000..1fbd966
--- /dev/null
@@ -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