[llvm] [Github] Add libunwind to docs CI (PR #69830)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 23 20:24:31 PDT 2023
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/69830
>From e55b1f80cee64165c50b68fdd2a57be8c5a14725 Mon Sep 17 00:00:00 2001
From: Aiden Grossman <agrossman154 at yahoo.com>
Date: Sat, 21 Oct 2023 02:52:24 -0700
Subject: [PATCH] [Github] Add libunwind to docs CI
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.
---
.github/workflows/docs.yml | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 57cb9ecf2ca1fcd..87a9711c655e702 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 at 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
More information about the llvm-commits
mailing list