update standard to C++17 per C++ build support (#1875) #1605
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: doxygen | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build-and-deploy: | |
name: Build HTML documentation | |
runs-on: ubuntu-latest | |
steps: | |
- name: Fetching sources | |
uses: actions/checkout@v4 | |
- name: Installing build dependencies | |
run: | | |
sudo apt update | |
sudo apt install doxygen gcc git | |
- name: Creating build directory | |
run: mkdir build | |
- name: Building HTML documentation with Doxygen | |
run: | | |
cmake -S . -B build -DBENCHMARK_ENABLE_TESTING:BOOL=OFF -DBENCHMARK_ENABLE_DOXYGEN:BOOL=ON -DBENCHMARK_INSTALL_DOCS:BOOL=ON | |
cmake --build build --target benchmark_doxygen |