aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAiden Grossman <agrossman154@yahoo.com>2023-10-23 20:24:46 -0700
committerGitHub <noreply@github.com>2023-10-23 20:24:46 -0700
commitd61e915460762d8eff6c4a34f95592f742fd6f9f (patch)
tree324ee8e62d68e63799bdfa546b731185ddf2f50c /.github
parentdbe8def9ccd1b8d50e12c8ee66ee509a86e72510 (diff)
downloadllvm-d61e915460762d8eff6c4a34f95592f742fd6f9f.zip
llvm-d61e915460762d8eff6c4a34f95592f742fd6f9f.tar.gz
llvm-d61e915460762d8eff6c4a34f95592f742fd6f9f.tar.bz2
[Github] Add libunwind to docs CI (#69830)
This patch adds the libunwind docs to the Github docs action which enables easy triage of docs build failures in Github PRs. There is already buildbot coverage of this configuration, but it is much less convenient to use in PRs.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/docs.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 57cb9ec..87a9711 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -17,12 +17,14 @@ on:
- 'clang/docs/**'
- 'clang-tools-extra/docs/**'
- 'lldb/docs/**'
+ - 'libunwind/docs/**'
pull_request:
paths:
- 'llvm/docs/**'
- 'clang/docs/**'
- 'clang-tools-extra/docs/**'
- 'lldb/docs/**'
+ - 'libunwind/docs/**'
jobs:
check-docs-build:
@@ -58,6 +60,8 @@ jobs:
- 'clang-tools-extra/docs/**'
lldb:
- 'lldb/docs/**'
+ libunwind:
+ - 'libunwind/docs/**'
- name: Setup Python env
uses: actions/setup-python@v4
with:
@@ -91,4 +95,9 @@ jobs:
run: |
cmake -B lldb-build -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang;lldb" -DLLVM_ENABLE_SPHINX=ON ./llvm
TZ=UTC ninja -C lldb-build docs-lldb-html docs-lldb-man
+ - name: Build libunwind docs
+ if: steps.docs-changed-subprojects.outputs.libunwind_any_changed == 'true'
+ run: |
+ cmake -B libunwind-build -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_RUNTIMES="libunwind" -DLLVM_ENABLE_SPHINX=ON ./runtimes
+ TZ=UTC ninja -C libunwind-build docs-libunwind-html