Skip to content

Revert threadsafe_hash_map change for github actions #28

Revert threadsafe_hash_map change for github actions

Revert threadsafe_hash_map change for github actions #28

Workflow file for this run

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}}