Skip to content

Commit 41a95f1

Browse files
authored
Merge pull request #326 from sdarwin/feature/ci3
GitHub Actions: test doc builds
2 parents d24a219 + 3626cbd commit 41a95f1

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.github/workflows/ci.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1059,3 +1059,43 @@ jobs:
10591059
B2_ARGS+=("libs/$LIBRARY/test")
10601060
./b2 "${B2_ARGS[@]}"
10611061
1062+
1063+
docs:
1064+
defaults:
1065+
run:
1066+
shell: bash
1067+
1068+
strategy:
1069+
fail-fast: false
1070+
matrix:
1071+
include:
1072+
- os: ubuntu-latest
1073+
container: cppalliance/boost_superproject_build:24.04-v4
1074+
1075+
timeout-minutes: 240
1076+
runs-on: ${{matrix.os}}
1077+
container: ${{matrix.container}}
1078+
1079+
steps:
1080+
- uses: actions/checkout@v4
1081+
with:
1082+
fetch-depth: 3
1083+
1084+
- name: Git safe.directory
1085+
run: |
1086+
git status || git config --system --add safe.directory "$GITHUB_WORKSPACE"
1087+
1088+
- uses: dorny/paths-filter@v3
1089+
id: changes
1090+
with:
1091+
filters: |
1092+
src:
1093+
- 'doc/**'
1094+
1095+
- if: steps.changes.outputs.src == 'true'
1096+
name: Build docs
1097+
run: |
1098+
set -xe
1099+
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
1100+
chmod 755 linuxdocs.sh
1101+
./linuxdocs.sh --skip-packages

0 commit comments

Comments
 (0)