1name: doxygen 2 3on: 4 push: 5 branches: [main] 6 pull_request: 7 branches: [main] 8 9jobs: 10 build-and-deploy: 11 name: Build HTML documentation 12 runs-on: ubuntu-latest 13 steps: 14 - name: Fetching sources 15 uses: actions/checkout@v3 16 17 - name: Installing build dependencies 18 run: | 19 sudo apt update 20 sudo apt install doxygen gcc git 21 22 - name: Creating build directory 23 run: mkdir build 24 25 - name: Building HTML documentation with Doxygen 26 run: | 27 cmake -S . -B build -DBENCHMARK_ENABLE_TESTING:BOOL=OFF -DBENCHMARK_ENABLE_DOXYGEN:BOOL=ON -DBENCHMARK_INSTALL_DOCS:BOOL=ON 28 cmake --build build --target benchmark_doxygen 29