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@v2 16 - name: Installing build dependencies 17 run: | 18 sudo apt update 19 sudo apt install cmake doxygen gcc git 20 - name: Creating build directory 21 run: | 22 mkdir build 23 - name: Building HTML documentation with Doxygen 24 run: | 25 cmake -S . -B build -DBENCHMARK_ENABLE_TESTING:BOOL=OFF -DBENCHMARK_ENABLE_DOXYGEN:BOOL=ON -DBENCHMARK_INSTALL_DOCS:BOOL=ON 26 cmake --build build --target benchmark_doxygen 27