Prototype cicd pipeline to build on alma linux 9 #35
Workflow file for this run
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 Check | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- '*' | |
env: | |
BUILD_DEPENDENCIES: cmake build-essential checkinstall zlib1g-dev libssl-dev libfmt-dev | |
BUILD_DIRECTORY: build | |
jobs: | |
doxygen-check: | |
name: Doxygen Check | |
runs-on: ubuntu-24.04 | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
submodules: recursive | |
- name: Install dependencies | |
run: | | |
sudo apt-get update && \ | |
sudo apt-get install -y ${{ env.BUILD_DEPENDENCIES }} clang-14 doxygen graphviz | |
- name: Generate doxygen | |
env: | |
CC: clang | |
CXX: clang++ | |
run: | | |
cmake -S . -B ${{ env.BUILD_DIRECTORY }} -DCMAKE_BUILD_TYPE=Debug -DDOXYGEN_BUILD_ENABLED=ON | |
cmake --build ${{ env.BUILD_DIRECTORY }} --target doxygen -- --no-print-directory | |
doxygen ${{ env.BUILD_DIRECTORY }}/doxygen/Doxyfile |