env:
# defaults
INSTALL_MEMCACHED: memcached
- CMAKE_CONFIG_TYPE: Debug
+ CMAKE_BUILD_TYPE: Debug
BUILD_TESTING: "ON"
ENABLE_SASL: "OFF"
ENABLE_HASH_HSIEH: "ON"
runs-on: ${{ matrix.os_ver }}
continue-on-error: ${{ matrix.cc_vnd == 'clang' }}
env:
- CMAKE_CONFIG_TYPE: Release
+ CMAKE_BUILD_TYPE: Release
OS_VND: Linux
OS_VER: ${{ matrix.os_ver }}
CC_VND: ${{ matrix.cc_vnd }}
- uses: actions/checkout@v2
<?php steps(); ?>
- uses: codecov/codecov-action@v1.0.13
+ with:
+ directory: build/src
# memcached new
ci-new:
env:
# defaults
INSTALL_MEMCACHED: memcached
- CMAKE_CONFIG_TYPE: Debug
+ CMAKE_BUILD_TYPE: Debug
BUILD_TESTING: "ON"
ENABLE_SASL: "OFF"
ENABLE_HASH_HSIEH: "ON"
runs-on: ${{ matrix.os_ver }}
continue-on-error: ${{ matrix.cc_vnd == 'clang' }}
env:
- CMAKE_CONFIG_TYPE: Release
+ CMAKE_BUILD_TYPE: Release
OS_VND: Linux
OS_VER: ${{ matrix.os_ver }}
CC_VND: ${{ matrix.cc_vnd }}
if: ${{ failure() }}
run: cat build/Testing/Temporary/LastTest.log
- uses: codecov/codecov-action@v1.0.13
+ with:
+ directory: build/src
# memcached new
ci-new:
-set(CMAKE_BUILD_TYPE Release
- CACHE STRING "build type (Release, Debug, ...)")
+
+if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
+ if(NOT DEFINED ENV{CMAKE_BUILD_TYPE})
+ set(ENV{CMAKE_BUILD_TYPE} Release)
+ endif()
+ set(CMAKE_BUILD_TYPE $ENV{CMAKE_BUILD_TYPE}
+ CACHE STRING "build type (Release, Debug, ...)" FORCE)
+endif()
set(CMAKE_INSTALL_PREFIX /usr/local
CACHE PATH "install prefix")
# libmemcached
-[![Build Status](https://travis-ci.org/m6w6/libmemcached.svg?branch=v1.0)](https://travis-ci.org/m6w6/libmemcached) [![Join the chat at https://gitter.im/m6w6/libmemcached](https://badges.gitter.im/m6w6/libmemcached.svg)](https://gitter.im/m6w6/libmemcached?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
+[![Build Status](https://github.com/m6w6/libmemcached/workflows/cmake-build-ci/badge.svg)](https://github.com/m6w6/libmemcached/actions?query=workflow%3Acmake-build-ci)
+[![Gitter Chat](https://badges.gitter.im/m6w6/libmemcached.svg)](https://gitter.im/m6w6/libmemcached?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
libmemcached is an open source C/C++ client library and tools for the
memcached server (http://memcached.org/). It has been designed to be
--- /dev/null
+codecov:
+
+ignore:
+ - "/usr"
+
+coverage:
+ range: 60..90
+ round: nearest
+ precision: 0
+ notify:
+ gitter:
+ default:
+ url: "https://webhooks.gitter.im/e/a6210fd7fb7b5105b2b0"
+ threshold: 1%
+
+