Skip to content

Merge pull request #37 from RonakGSahu/feat/steiner #196

Merge pull request #37 from RonakGSahu/feat/steiner

Merge pull request #37 from RonakGSahu/feat/steiner #196

Workflow file for this run

name: Codecov.io
on: [push, pull_request]
env:
BUILD_TYPE: Debug
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: sudo apt-get install lcov libglpk-dev libarpack2-dev
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Create build environment
run: cmake -E make_directory ${{github.workspace}}/build
- name: Configure
shell: bash
working-directory: ${{github.workspace}}/build
run: cmake $GITHUB_WORKSPACE -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DIGRAPH_ENABLE_TLS=ON -DIGRAPH_ENABLE_CODE_COVERAGE=ON -DFLEX_KEEP_LINE_NUMBERS=ON
- name: Build
working-directory: ${{github.workspace}}/build
shell: bash
run: cmake --build . --parallel
- name: Coverage
working-directory: ${{github.workspace}}/build
shell: bash
run: cmake --build . --target coverage --parallel
- name: Codecov.io
uses: codecov/codecov-action@v3