Skip to content

Merge pull request #116 from chistopher/master #14

Merge pull request #116 from chistopher/master

Merge pull request #116 from chistopher/master #14

Workflow file for this run

name: C++ CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install cmake
run: sudo apt install -y cmake
- name: configure
run: ./configure && ./configure
- name: make
run: make
working-directory: build
test:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install cmake and googletest
run: sudo apt install -y cmake libgmock-dev lcov
- name: configure
run: ./configure && CMAKE_OPTIONS="-DOPTION_ENABLE_COVERAGE=On" ./configure
- name: tests
run: make test
working-directory: build
check:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install cmake
run: sudo apt install -y cmake cppcheck clang-tidy
- name: configure
run: ./configure && ./configure
- name: check
run: make check-all
working-directory: build