Skip to content

common: Include <fmt/format.h> for fmt::format in string.hpp #86

common: Include <fmt/format.h> for fmt::format in string.hpp

common: Include <fmt/format.h> for fmt::format in string.hpp #86

Workflow file for this run

name: Deploy Doxygen documentation to Pages
on:
push:
branches: ["master"]
workflow_dispatch:
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
path: openvpn3
- name: Checkout doxygen-awesome-css
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
path: doxygen-awesome-css
repository: jothepro/doxygen-awesome-css
ref: v2.3.4
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y --no-install-recommends \
build-essential cmake doxygen graphviz ninja-build \
libasio-dev libcap-dev libfmt-dev libjsoncpp-dev liblz4-dev libssl-dev libxxhash-dev
- name: Build Doxygen documentation
id: build
run: |
mkdir doxygen
cd doxygen
cmake -S ${{ github.workspace}}/openvpn3 -DENABLE_DOXYGEN=ON -DDOXYGEN_HTML_EXTRA_STYLESHEET=${{ github.workspace }}/doxygen-awesome-css/doxygen-awesome.css -GNinja
ninja -v doxygen-core
- name: Upload static files as artifact
id: deployment
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
with:
path: doxygen/doxygen/core/html/
deploy:
needs: build
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-24.04
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0