[llvm] [Github] Add Polly docs to Github actions (PR #70531)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 29 12:49:07 PDT 2023
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/70531
>From 28abd56bad71b5f114cb3df28d834a69b746c867 Mon Sep 17 00:00:00 2001
From: Aiden Grossman <agrossman154 at yahoo.com>
Date: Fri, 27 Oct 2023 19:09:54 -0700
Subject: [PATCH] [Github] Add Polly docs to Github actions
This patch enables building the polly docs in CI to catch warnings/build
regressions in the documentation.
---
.github/workflows/docs.yml | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index b311a23f21af72e..17b2fbbae7bd5d6 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -22,6 +22,7 @@ on:
- 'libc/docs/**'
- 'lld/docs/**'
- 'openmp/docs/**'
+ - 'polly/docs/**'
pull_request:
paths:
- 'llvm/docs/**'
@@ -33,6 +34,7 @@ on:
- 'libc/docs/**'
- 'lld/docs/**'
- 'openmp/docs/**'
+ - 'polly/docs/**'
jobs:
check-docs-build:
@@ -71,6 +73,8 @@ jobs:
- 'lld/docs/**'
openmp:
- 'openmp/docs/**'
+ polly:
+ - 'polly/docs/**'
- name: Fetch LLVM sources (PR)
if: ${{ github.event_name == 'pull_request' }}
uses: actions/checkout at v4
@@ -134,4 +138,9 @@ jobs:
run: |
cmake -B openmp-build -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang;openmp" -DLLVM_ENABLE_SPHINX=ON ./llvm
TZ=UTC ninja -C openmp-build docs-openmp-html
+ - name: Build Polly docs
+ if: steps.docs-changed-subprojects.outputs.polly_any_changed == 'true'
+ run: |
+ cmake -B polly-build -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="polly" -DLLVM_ENABLE_SPHINX=ON ./llvm
+ TZ=UTC ninja -C polly-build docs-polly-html docs-polly-man
More information about the llvm-commits
mailing list