From 1b9362432708ab64e60c0039dba376ccef3414e5 Mon Sep 17 00:00:00 2001 From: Thomas Helfer Date: Fri, 12 Jan 2024 15:28:04 +0100 Subject: [PATCH] Add new action --- .github/workflows/doxygen.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/doxygen.yml diff --git a/.github/workflows/doxygen.yml b/.github/workflows/doxygen.yml new file mode 100644 index 000000000..3e30ecb5a --- /dev/null +++ b/.github/workflows/doxygen.yml @@ -0,0 +1,28 @@ +name: Doxygen +description: 'Deploy the HTML pages generated by doxygen to GitHub pages' + +on: + push: + branches: [ 468-doc-automatically-deploy-the-doxygen-documents-to-github-pages ] + pull_request: + branches: [ 468-doc-automatically-deploy-the-doxygen-documents-to-github-pages ] + +env: + # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) + BUILD_TYPE: Release + +jobs: + using: "composite" + + steps: + - uses: actions/checkout@v2 + + - name: Install Doxygen + run: sudo apt-get install doxygen graphviz -y + shell: bash + + - name: Configure CMake + run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -Denable-doxygen-doc=ON + + - name: Generate doxygen + run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --target doc-html \ No newline at end of file