add preprocessor flags to doxyfile #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |