Test doxygen via actions #8
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: Generate Doxygen Documentation | |
on: | |
push: | |
branches: ["master"] | |
pull_request: | |
branches: ["master"] | |
env: | |
WINFELLOW_DOXYGEN_DIRECTORY: fellow/doxygen | |
WINFELLOW_DOXYGEN_FILE: ./Doxyfile | |
jobs: | |
generate-docs: | |
runs-on: ubuntu-latest | |
steps: | |
# Step 1: Check out the repository | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
# Step 2: Set up Doxygen | |
- name: Install Doxygen | |
run: sudo apt-get update && sudo apt-get install -y doxygen graphviz texlive-latex-base | |
# Step 3: Make the script executable | |
- name: Make script executable | |
working-directory: ${{env.WINFELLOW_DOXYGEN_DIRECTORY}} | |
run: chmod +x Build-Doxygen-Documentation.sh | |
# Step 4: Generate Doxygen Documentation | |
- name: Generate Doxygen documentation | |
working-directory: ${{env.WINFELLOW_DOXYGEN_DIRECTORY}} | |
run: ./Build-Doxygen-Documentation.sh | |
shell: bash |