From 3626cbd56b9c831f460f8d8db5531def319af46e Mon Sep 17 00:00:00 2001 From: sdarwin Date: Tue, 30 Dec 2025 09:23:08 -0700 Subject: [PATCH] GitHub Actions: test doc builds --- .github/workflows/ci.yml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a286b893..bb4ce1a3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1059,3 +1059,43 @@ jobs: B2_ARGS+=("libs/$LIBRARY/test") ./b2 "${B2_ARGS[@]}" + + docs: + defaults: + run: + shell: bash + + strategy: + fail-fast: false + matrix: + include: + - os: ubuntu-latest + container: cppalliance/boost_superproject_build:24.04-v4 + + timeout-minutes: 240 + runs-on: ${{matrix.os}} + container: ${{matrix.container}} + + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 3 + + - name: Git safe.directory + run: | + git status || git config --system --add safe.directory "$GITHUB_WORKSPACE" + + - uses: dorny/paths-filter@v3 + id: changes + with: + filters: | + src: + - 'doc/**' + + - if: steps.changes.outputs.src == 'true' + name: Build docs + run: | + set -xe + curl --retry-all-errors --connect-timeout 15 -sSL --retry 5 -o linuxdocs.sh https://raw.githubusercontent.com/boostorg/release-tools/refs/heads/master/build_docs/linuxdocs.sh + chmod 755 linuxdocs.sh + ./linuxdocs.sh --skip-packages