Skip to content

add preprocessor flags to doxyfile #41

add preprocessor flags to doxyfile

add preprocessor flags to doxyfile #41

Workflow file for this run

name: C++ CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y build-essential cmake ninja-build graphviz doxygen lcov g++ valgrind
- name: Configure CMake
run: cmake -S . -B build -G Ninja -DBUILD_DOCUMENTATION=ON -DBUILD_COVERAGE=ON
- name: Build
run: cmake --build build -- -j2
- name: Test (optional)
run: |
cd build
ctest
- name: Upload to Codecov
uses: codecov/codecov-action@v2
with:
file: ./build/test/tsm_test_total.info # Adjust the path as necessary
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/docs/html