[llvm] add clangd ci (PR #94703)

Abdur Javaid via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 6 17:13:31 PDT 2024


https://github.com/abdurj updated https://github.com/llvm/llvm-project/pull/94703

>From 8aa4e84f41417e08bac7cd349100e632bca91edb Mon Sep 17 00:00:00 2001
From: abdurj <abdur.javaid at gmail.com>
Date: Thu, 6 Jun 2024 17:12:36 -0700
Subject: [PATCH] add clangd ci

---
 .github/workflows/clangd-test.yml | 38 +++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 .github/workflows/clangd-test.yml

diff --git a/.github/workflows/clangd-test.yml b/.github/workflows/clangd-test.yml
new file mode 100644
index 0000000000000..743bdc1bbadce
--- /dev/null
+++ b/.github/workflows/clangd-test.yml
@@ -0,0 +1,38 @@
+name: Clang Tests
+
+permissions:
+  contents: read
+
+on:
+  workflow_dispatch:
+  push:
+    branches:
+      - 'main'
+    paths:
+      - 'clang-tools-extra/**'
+      - '.github/workflows/clangd-tests.yml'
+      - '.github/workflows/llvm-project-tests.yml'
+      - '!llvm/**'
+  pull_request:
+    branches:
+      - 'main'
+    paths:
+      - 'clang-tools-extra/**'
+      - '.github/workflows/clangd-tests.yml'
+      - '.github/workflows/llvm-project-tests.yml'
+      - '!llvm/**'
+
+concurrency:
+  # Skip intermediate builds: always.
+  # Cancel intermediate builds: only if it is a pull request build.
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
+
+jobs:
+  check_clang:
+    # if: github.repository_owner == 'llvm'
+    name: Test clangd
+    uses: ./.github/workflows/llvm-project-tests.yml
+    with:
+      build_target: check-clangd
+      projects: clang;clang-tools-extra



More information about the llvm-commits mailing list