forked from boostorg/mqtt5
coverage and docs workflows
Summary: Relates to T15996 Reviewers: korina Reviewed By: korina Subscribers: miljen Differential Revision: https://repo.mireo.local/D33719
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
#
|
||||
# Copyright (c) 2025 Ivica Siladic, Bruno Iljazovic, Korina Simicevic
|
||||
#
|
||||
# Distributed under the Boost Software License, Version 1.0.
|
||||
# (See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
#
|
||||
|
||||
name: docs
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
|
||||
posix:
|
||||
name: "Docs ${{ matrix.container }}"
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
container: ubuntu:22.04
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup container environment
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get -y install --no-install-recommends \
|
||||
doxygen docbook-xsl docutils-doc xsltproc wget ca-certificates g++ \
|
||||
python3 python-is-python3 python3-jinja2 rsync git unzip
|
||||
|
||||
- name: Setup Boost
|
||||
run: |
|
||||
python3 tools/ci.py setup-boost \
|
||||
--source-dir=$(pwd) \
|
||||
--docs-install=1
|
||||
|
||||
- name: Build docs
|
||||
run: |
|
||||
python3 tools/ci.py build-docs
|
||||
Reference in New Issue
Block a user