Skip to content

ci: 🐝 merge cpp-ci-config #1

ci: 🐝 merge cpp-ci-config

ci: 🐝 merge cpp-ci-config #1

Workflow file for this run

name: Documentation
on:
push:
tags:
- "*"
branches: [main, master]
permissions:
contents: write
pages: write
jobs:
build:
name: Build and publish documentation
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit
disable-telemetry: true
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- name: Install Linux Dependencies
if: runner.os == 'Linux'
run: sudo apt-get update
- name: Setup Cpp
uses: aminya/setup-cpp@290824452986e378826155f3379d31bce8753d76 # v0.37.0
with:
clangtidy: true
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
- name: Install Docs
run: |
sudo apt-get install doxygen
pip install -r requirements.txt --require-hashes
- name: configure
run: |
cmake -H. -Bbuild -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug"
- name: building
run: |
cmake --build build --config Debug --target doc_doxygen -j4
- name: Deploy to GitHub Pages
uses: Cecilapp/GitHub-Pages-deploy@526a34f794dfdf7edd6a4ac94321b1e7945910c0 # v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
build_dir: ./build/docs/doc_doxygen/html