image: freebsd/latest packages: - autotools - bison - cmake - curl - cyrus-sasl - flex - libevent - pkgconf - py39-sphinx - py39-m2r - rsync - tbb sources: - https://github.com/awesomized/libmemcached secrets: - a223d068-8d3f-4bab-a623-ed6e2887820a - d7dfe587-b433-481b-8725-d7ccd82e59fb environment: ENABLE_HASH_HSIEH: "ON" ENABLE_MEMASLAP: "ON" ENABLE_SASL: "ON" VERBOSE: "ON" MEMCACHED_BINARY: "/home/build/memcached/work/stage/home/build/bin/memcached" tasks: - prepare: | ./libmemcached/.builds/scripts/prepare - memcached: | ln -s /usr/ports/Mk . ln -s /usr/ports/Templates . cp -R /usr/ports/databases/memcached . cd memcached echo bin/memcached > pkg-plist maybe make all install PREFIX=/home/build \ INSTALL_AS_USER=1 NO_PKG_REGISTER=1 PKG_REGISTER=/usr/bin/true \ SASLPWDB_CONFIGURE_ENABLE=sasl-pwdb \ OPTIONS_SET="SASL SASLPWDB" \ OPTIONS_DEFINE="SASL SASLPWDB" - configure: | maybe cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=ON -S libmemcached -B debug - build: | maybe cmake --build debug -j2 - test: | maybe cmake --build debug -j2 --target test - install: | maybe cmake --install debug --prefix /tmp - success: | notify-gitter success