Skip to content

Build tests with flags -Wall -Werror -Wextra #118

Build tests with flags -Wall -Werror -Wextra

Build tests with flags -Wall -Werror -Wextra #118

Workflow file for this run

on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: install dependencies
run: |
sudo apt-get update
sudo apt-get install -y cmake pkg-config check libsubunit-dev cppcheck doxygen valgrind
- name: cppcheck
run: cppcheck --force --enable=warning,missingInclude --error-exitcode=1 .
- name: build
run: |
mkdir build
cd build
cmake -DBUILD_ORCANIA_TESTING=on -DBUILD_ORCANIA_DOCUMENTATION=on ..
make test package doc
sudo make install
cd ..
make
make clean check