2021-10-25 11:32:33 +00:00
|
|
|
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
|
2024-07-17 15:47:54 +00:00
|
|
|
uses: actions/checkout@v4
|
2022-09-14 14:11:37 +00:00
|
|
|
|
2021-10-25 11:32:33 +00:00
|
|
|
- name: Installing build dependencies
|
|
|
|
run: |
|
|
|
|
sudo apt update
|
2022-09-14 14:11:37 +00:00
|
|
|
sudo apt install doxygen gcc git
|
|
|
|
|
2021-10-25 11:32:33 +00:00
|
|
|
- name: Creating build directory
|
2022-09-14 14:11:37 +00:00
|
|
|
run: mkdir build
|
|
|
|
|
2021-10-25 11:32:33 +00:00
|
|
|
- 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
|