[llvm] [CI] Add Github actions job to build LLVM documentation (PR #69269)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 16 20:52:39 PDT 2023


================
@@ -0,0 +1,43 @@
+# LLVM Documentation CI
+# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+# See https://llvm.org/LICENSE.txt for license information.
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+
+name: "Test documentation build"
+
+on:
+  push:
+    branches:
+      - 'main'
+    paths:
+      - 'llvm/docs/**'
+  pull_request:
+    paths:
+      - 'llvm/docs/**'
+
+jobs:
+  check-docs-build:
+    name: "Test documentation build"
+    runs-on: ubuntu-latest
+    steps:
+      - name: Fetch LLVM sources
+        uses: actions/checkout at v4
+        with:
+          fetch-depth: 2
----------------
boomanaiden154 wrote:

No particular reason, it was just what @tru used for the clang-format action. I've changed it to one as it shouldn't matter at all for this patch as we only care that the docs build properly at the head commit of the PR/main.

https://github.com/llvm/llvm-project/pull/69269


More information about the llvm-commits mailing list