Merge pull request #115 from remicollet/issue-awesome
[awesomized/libmemcached] / .builds / openbsd.yml
1 image: openbsd/latest
2 packages:
3 - bison
4 - cmake
5 - curl--
6 - libevent
7 - memcached--
8 - pkgconf
9 - pigz
10 - py3-sphinx
11 - py3-m2r
12 - rsync--
13 - sudo--
14 - tbb
15 sources:
16 - https://github.com/awesomized/libmemcached
17 secrets:
18 - a223d068-8d3f-4bab-a623-ed6e2887820a
19 - d7dfe587-b433-481b-8725-d7ccd82e59fb
20 environment:
21 ENABLE_HASH_HSIEH: "ON"
22 ENABLE_MEMASLAP: "OFF"
23 VERBOSE: "ON"
24 MEMCACHED_BINARY: "memcached"
25 tasks:
26 - prepare: |
27 ./libmemcached/.builds/scripts/prepare
28 - configure: |
29 maybe cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=ON -S libmemcached -B debug
30 - build: |
31 maybe cmake --build debug -j2
32 - test: |
33 maybe cmake --build debug -j2 --target test
34 - install: |
35 maybe cmake --install debug --prefix /tmp
36 - package: |
37 maybe cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_DOCS_MANGZ=ON -S libmemcached -B release
38 maybe cmake --build release -j2 --target package -- VERBOSE=
39 maybe cmake -DCPACK_COMPONENT_INSTALL=ON release
40 maybe cmake --build release -j2 --target package -- VERBOSE=
41 maybe cmake --build release -j2 --target push-artifacts -- VERBOSE=
42 - success:
43 notify-gitter success