Skip to content

Add test for buffered pump #103

Add test for buffered pump

Add test for buffered pump #103

Workflow file for this run

name: build
on:
push:
branches:
# - 'master'
- 'refactor'
pull_request:
jobs:
unix:
strategy:
matrix:
os: [ubuntu]
compiler: [g++]
name: ${{matrix.os}} ${{matrix.compiler}}
runs-on: ${{matrix.os}}-latest
steps:
- uses: actions/checkout@v1
- name: install dependencies
run: sudo apt-get install -y gnutls-bin gnutls-dev libgtest-dev
- name: configure
run: cmake -S . -B CBuild -DCMAKE_BUILD_TYPE=Debug -DBUILD_LIBRARY_TYPE=Static -DBUILD_TESTING=ON
- name: build
run: cmake --build CBuild
- name: test
run: ctest --output-on-failure --test-dir CBuild/test
# windows:
# strategy:
# matrix:
# arch: [Win32, x64]
# name: windows ${{matrix.arch}}
# runs-on: windows-latest
# steps:
# - uses: actions/checkout@v1
# - name: cmake configure
# run: cmake -S . -B CBuild -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=Release -DBUILD_LIBRARY_TYPE=Shared
# - name: cmake build
# run: MSBuild io.sln /p:Configuration=Release