Skip to content

More work getting streaming working #103

More work getting streaming working

More work getting streaming working #103

Workflow file for this run

name: Build Status
on:
push:
branches:
- main
pull_request:
schedule:
# run on sunday nights
- cron: '0 0 * * 0'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.9]
event-name: [push]
gcc: [10]
steps:
- uses: actions/checkout@v2
- name: Install System Dependencies (Windows)
run: |
git clone https://github.com/Microsoft/vcpkg
cd vcpkg
.\bootstrap-vcpkg.bat
.\vcpkg.exe install boost-algorithm boost-asio boost-coroutine boost-system boost-uuid gtest
.\vcpkg.exe integrate install
if: ${{ matrix.os == 'windows-latest' }}
env:
VCPKG_DEFAULT_TRIPLET: x64-windows
VCPKG_PLATFORM_TOOLSET: v142
- name: Install System Dependencies (Mac)
run: |
brew install boost clang-format googletest
if: ${{ matrix.os == 'macos-latest' }}
- name: Install System Dependencies (Linux)
run: |
sudo apt-get install gcc-${{ matrix.gcc }}
wget https://boostorg.jfrog.io/artifactory/main/release/1.71.0/source/boost_1_71_0.tar.gz >/dev/null 2>&1
tar xfz boost_1_71_0.tar.gz
cd boost_1_71_0
./bootstrap.sh
sudo ./b2 -j8 --with-system install
sudo apt-get install libgtest-dev
if: ${{ matrix.os == 'ubuntu-latest' }}
env:
CC: gcc-${{ matrix.gcc }}
CXX: g++-${{ matrix.gcc }}
- name: Lint
run: |
./bin/lint.sh
if: ${{ matrix.os == 'macos-latest' }}
- name: Build (Mac)
run: |
mkdir build
cmake -Bbuild .
cmake --build build/ --target all -- -j2
if: ${{ matrix.os == 'macos-latest' }}
- name: Build (Linux)
run: |
mkdir build
cmake -Bbuild .
cmake --build build/ --target all -- -j2
if: ${{ matrix.os == 'ubuntu-latest' }}
env:
CC: gcc-${{ matrix.gcc }}
CXX: g++-${{ matrix.gcc }}
CMAKE_C_COMPILER: gcc-${{ matrix.gcc }}
CMAKE_CXX_COMPILER: g++-${{ matrix.gcc }}
- name: Build (Windows)
run: |
mkdir build
cmake -B build -A x64 -DCMAKE_TOOLCHAIN_FILE="vcpkg\scripts\buildsystems\vcpkg.cmake" -DCMAKE_BUILD_TYPE=Debug
cmake --build build --config Debug -- /m:2
if: ${{ matrix.os == 'windows-latest' }}
- name: Test
run: |
cd build
ctest
if: ${{ matrix.os == 'ubuntu-latest' }}