env:
# defaults
INSTALL_MEMCACHED: memcached
- ENABLE_SASL: "ON"
+ ENABLE_SASL: "OFF" # ^ almost no memcached distribution package has built in sasl support
ENABLE_HASH_HSIEH: "ON"
ENABLE_DTRACE: "OFF"
OS_VND: Linux #
CXXFLAGS: "-O0 --coverage"
INSTALL_MEMCACHED: ""
MEMCACHED_PREFIX: "/tmp"
+ ENABLE_SASL: "ON"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2
libevent-dev \
libsasl2-dev \
libtbb-dev \
- m2r \
python3-sphinx \
${INSTALL_MEMCACHED} \
${INSTALL_CC} ${INSTALL_CXX}
- name: Build all with ${{ env.CXX }} ${{ env.CXXFLAGS }}
run: cmake --build build -j2
- name: Test
- run: cmake --build build -j2 --target test
- - name: Install
- run: cmake --build build -j2 --target install -- DESTDIR=/tmp
+ if: env.BUILD_TESTING == 'ON'
+ run: |
+ cmake --build build -j2 --target test
+ cmake --build build -j2 --target install -- DESTDIR=/tmp
- name: Failed tests log
if: ${{ failure() }}
run: cat build/Testing/Temporary/LastTest.log || true
libevent-dev \
libsasl2-dev \
libtbb-dev \
- m2r \
python3-sphinx \
${INSTALL_MEMCACHED} \
${INSTALL_CC} ${INSTALL_CXX}
- name: Build all with ${{ env.CXX }} ${{ env.CXXFLAGS }}
run: cmake --build build -j2
- name: Test
- run: cmake --build build -j2 --target test
- - name: Install
- run: cmake --build build -j2 --target install -- DESTDIR=/tmp
+ if: env.BUILD_TESTING == 'ON'
+ run: |
+ cmake --build build -j2 --target test
+ cmake --build build -j2 --target install -- DESTDIR=/tmp
- name: Failed tests log
if: ${{ failure() }}
run: cat build/Testing/Temporary/LastTest.log || true
libevent-dev \
libsasl2-dev \
libtbb-dev \
- m2r \
python3-sphinx \
${INSTALL_MEMCACHED} \
${INSTALL_CC} ${INSTALL_CXX}
- name: Build all with ${{ env.CXX }} ${{ env.CXXFLAGS }}
run: cmake --build build -j2
- name: Test
- run: cmake --build build -j2 --target test
- - name: Install
- run: cmake --build build -j2 --target install -- DESTDIR=/tmp
+ if: env.BUILD_TESTING == 'ON'
+ run: |
+ cmake --build build -j2 --target test
+ cmake --build build -j2 --target install -- DESTDIR=/tmp
- name: Failed tests log
if: ${{ failure() }}
run: cat build/Testing/Temporary/LastTest.log || true
runs-on: macos-10.15 #
env:
CMAKE_BUILD_TYPE: "Debug"
- ENABLE_SASL: "OFF"
BUILD_TESTING: "ON"
VERBOSE: "ON"
CFLAGS: "-O0 --coverage"
libevent-dev \
libsasl2-dev \
libtbb-dev \
- m2r \
python3-sphinx \
${INSTALL_MEMCACHED} \
${INSTALL_CC} ${INSTALL_CXX}
- name: Build all with ${{ env.CXX }} ${{ env.CXXFLAGS }}
run: cmake --build build -j2
- name: Test
- run: cmake --build build -j2 --target test
- - name: Install
- run: cmake --build build -j2 --target install -- DESTDIR=/tmp
+ if: env.BUILD_TESTING == 'ON'
+ run: |
+ cmake --build build -j2 --target test
+ cmake --build build -j2 --target install -- DESTDIR=/tmp
- name: Failed tests log
if: ${{ failure() }}
run: cat build/Testing/Temporary/LastTest.log || true
runs-on: macos-10.15 #
env:
CMAKE_BUILD_TYPE: "Release"
- ENABLE_SASL: "OFF"
BUILD_DOCS_MANGZ: "ON"
OS_VND: macOS #
OS_VER: macos-10.15 #
libevent-dev \
libsasl2-dev \
libtbb-dev \
- m2r \
python3-sphinx \
${INSTALL_MEMCACHED} \
${INSTALL_CC} ${INSTALL_CXX}
- name: Build all with ${{ env.CXX }} ${{ env.CXXFLAGS }}
run: cmake --build build -j2
- name: Test
- run: cmake --build build -j2 --target test
- - name: Install
- run: cmake --build build -j2 --target install -- DESTDIR=/tmp
+ if: env.BUILD_TESTING == 'ON'
+ run: |
+ cmake --build build -j2 --target test
+ cmake --build build -j2 --target install -- DESTDIR=/tmp
- name: Failed tests log
if: ${{ failure() }}
run: cat build/Testing/Temporary/LastTest.log || true
runs-on: windows-2019 #
env:
CMAKE_BUILD_TYPE: "Release"
- ENABLE_SASL: "OFF"
BISON_ROOT: "C:/msys64/usr"
FLEX_ROOT: "C:/msys64/usr"
OS_VND: Windows #
CC_VND: msvc #
CC_VER: cur #
continue-on-error: true
- defaults:
- run:
- shell: msys2 {0}
steps:
- uses: actions/checkout@v2
- uses: msys2/setup-msys2@v2
libevent-dev \
libsasl2-dev \
libtbb-dev \
- m2r \
python3-sphinx \
${INSTALL_MEMCACHED} \
${INSTALL_CC} ${INSTALL_CXX}
- name: Build all with ${{ env.CXX }} ${{ env.CXXFLAGS }}
run: cmake --build build -j2
- name: Test
- run: cmake --build build -j2 --target test
- - name: Install
- run: cmake --build build -j2 --target install -- DESTDIR=/tmp
+ if: env.BUILD_TESTING == 'ON'
+ run: |
+ cmake --build build -j2 --target test
+ cmake --build build -j2 --target install -- DESTDIR=/tmp
- name: Failed tests log
if: ${{ failure() }}
run: cat build/Testing/Temporary/LastTest.log || true