Skip to content

Combine build file of adolc and tests; Add code coverage #70

Combine build file of adolc and tests; Add code coverage

Combine build file of adolc and tests; Add code coverage #70

Workflow file for this run

name: Run Tests
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Boost
shell: bash
run: |
sudo apt-get install libboost-all-dev
- name: Configure and build ADOL-C
run: |
mkdir build
cd build
cmake \
-DCMAKE_CXX_COMPILER=g++ \
-DCMAKE_C_COMPILER=gcc \
-DCMAKE_BUILD_TYPE=Tests \
-S .. \
-B .
cmake --build .
- name: Run Tests
run: ctest --test-dir build/ --output-on-failure