Move next_strand_ to next_connection #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: C/C++ CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ develop ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Boost and Coveralls | |
run: | | |
sudo apt-get update -qq | |
sudo apt-get install libboost-thread-dev libboost-system-dev libboost-test-dev lcov | |
- uses: actions/checkout@v2 | |
- name: Create Build Environment | |
run: cmake -E make_directory ${{github.workspace}}/build | |
- name: Configure CMake | |
shell: bash | |
working-directory: ${{github.workspace}}/build | |
run: cmake $GITHUB_WORKSPACE -DVIA_HTTPLIB_UNIT_TESTS=ON -DVIA_HTTPLIB_COVERAGE=ON | |
- name: Make | |
working-directory: ${{github.workspace}}/build | |
shell: bash | |
run: cmake --build . | |
- name: Test | |
working-directory: ${{github.workspace}}/build | |
shell: bash | |
run: ctest | |
- name: Coverage | |
working-directory: ${{github.workspace}}/build | |
shell: bash | |
run: make coverage | |
# - name: Coveralls | |
# uses: coverallsapp/github-action@v2 | |
# with: | |
# github-token: ${{ secrets.GITHUB_TOKEN }} | |
# base-path: ${{github.workspace}} |