[llvm-branch-commits] [llvm] Clang Tests (CI Workflow) (PR #235624)
Vedant Tewari via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Oct 26 00:12:09 PDT 2026
https://github.com/mm-vedant created https://github.com/llvm/llvm-project/pull/235624
Testing clang pre-merge checks on Linux machine via GitHub runner and actions
>From 8d218a1bd6c978a40c67eb88f7c564808b1bbd33 Mon Sep 17 00:00:00 2001
From: mm-vedant <tewari.vedant at morphing.in>
Date: Mon, 26 Oct 2026 12:38:46 +0530
Subject: [PATCH] ci: testing clang premerge checks on Linux
---
.../build-ci-container.yml | 0
.../docs.yml | 0
.../issue-release-workflow.yml | 0
.../issue-subscriber.yml | 0
.../libclang-abi-tests.yml | 0
.../libclang-python-tests.yml | 0
.../libclc-tests.yml | 0
.../libcxx-build-and-test.yaml | 0
.../libcxx-check-generated-files.yml | 0
.../lld-tests.yml | 0
.../lldb-tests.yml | 0
.../llvm-bugs.yml | 0
.../llvm-tests.yml | 0
.../new-issues.yml | 0
.../new-prs.yml | 0
.../pr-code-format.yml | 0
.../pr-request-release-note.yml | 0
.../pr-subscriber.yml | 0
.../release-binaries.yml | 0
.../release-documentation.yml | 0
.../release-doxygen.yml | 0
.../release-lit.yml | 0
.../release-tasks.yml | 0
.../scorecard.yml | 0
.../spirv-tests.yml | 0
.../version-check.yml | 0
.github/workflows/clang-tests.yml | 23 ++++++------
.github/workflows/llvm-project-tests.yml | 36 +++++++++----------
28 files changed, 29 insertions(+), 30 deletions(-)
rename .github/{workflows => workflows-disabled}/build-ci-container.yml (100%)
rename .github/{workflows => workflows-disabled}/docs.yml (100%)
rename .github/{workflows => workflows-disabled}/issue-release-workflow.yml (100%)
rename .github/{workflows => workflows-disabled}/issue-subscriber.yml (100%)
rename .github/{workflows => workflows-disabled}/libclang-abi-tests.yml (100%)
rename .github/{workflows => workflows-disabled}/libclang-python-tests.yml (100%)
rename .github/{workflows => workflows-disabled}/libclc-tests.yml (100%)
rename .github/{workflows => workflows-disabled}/libcxx-build-and-test.yaml (100%)
rename .github/{workflows => workflows-disabled}/libcxx-check-generated-files.yml (100%)
rename .github/{workflows => workflows-disabled}/lld-tests.yml (100%)
rename .github/{workflows => workflows-disabled}/lldb-tests.yml (100%)
rename .github/{workflows => workflows-disabled}/llvm-bugs.yml (100%)
rename .github/{workflows => workflows-disabled}/llvm-tests.yml (100%)
rename .github/{workflows => workflows-disabled}/new-issues.yml (100%)
rename .github/{workflows => workflows-disabled}/new-prs.yml (100%)
rename .github/{workflows => workflows-disabled}/pr-code-format.yml (100%)
rename .github/{workflows => workflows-disabled}/pr-request-release-note.yml (100%)
rename .github/{workflows => workflows-disabled}/pr-subscriber.yml (100%)
rename .github/{workflows => workflows-disabled}/release-binaries.yml (100%)
rename .github/{workflows => workflows-disabled}/release-documentation.yml (100%)
rename .github/{workflows => workflows-disabled}/release-doxygen.yml (100%)
rename .github/{workflows => workflows-disabled}/release-lit.yml (100%)
rename .github/{workflows => workflows-disabled}/release-tasks.yml (100%)
rename .github/{workflows => workflows-disabled}/scorecard.yml (100%)
rename .github/{workflows => workflows-disabled}/spirv-tests.yml (100%)
rename .github/{workflows => workflows-disabled}/version-check.yml (100%)
diff --git a/.github/workflows/build-ci-container.yml b/.github/workflows-disabled/build-ci-container.yml
similarity index 100%
rename from .github/workflows/build-ci-container.yml
rename to .github/workflows-disabled/build-ci-container.yml
diff --git a/.github/workflows/docs.yml b/.github/workflows-disabled/docs.yml
similarity index 100%
rename from .github/workflows/docs.yml
rename to .github/workflows-disabled/docs.yml
diff --git a/.github/workflows/issue-release-workflow.yml b/.github/workflows-disabled/issue-release-workflow.yml
similarity index 100%
rename from .github/workflows/issue-release-workflow.yml
rename to .github/workflows-disabled/issue-release-workflow.yml
diff --git a/.github/workflows/issue-subscriber.yml b/.github/workflows-disabled/issue-subscriber.yml
similarity index 100%
rename from .github/workflows/issue-subscriber.yml
rename to .github/workflows-disabled/issue-subscriber.yml
diff --git a/.github/workflows/libclang-abi-tests.yml b/.github/workflows-disabled/libclang-abi-tests.yml
similarity index 100%
rename from .github/workflows/libclang-abi-tests.yml
rename to .github/workflows-disabled/libclang-abi-tests.yml
diff --git a/.github/workflows/libclang-python-tests.yml b/.github/workflows-disabled/libclang-python-tests.yml
similarity index 100%
rename from .github/workflows/libclang-python-tests.yml
rename to .github/workflows-disabled/libclang-python-tests.yml
diff --git a/.github/workflows/libclc-tests.yml b/.github/workflows-disabled/libclc-tests.yml
similarity index 100%
rename from .github/workflows/libclc-tests.yml
rename to .github/workflows-disabled/libclc-tests.yml
diff --git a/.github/workflows/libcxx-build-and-test.yaml b/.github/workflows-disabled/libcxx-build-and-test.yaml
similarity index 100%
rename from .github/workflows/libcxx-build-and-test.yaml
rename to .github/workflows-disabled/libcxx-build-and-test.yaml
diff --git a/.github/workflows/libcxx-check-generated-files.yml b/.github/workflows-disabled/libcxx-check-generated-files.yml
similarity index 100%
rename from .github/workflows/libcxx-check-generated-files.yml
rename to .github/workflows-disabled/libcxx-check-generated-files.yml
diff --git a/.github/workflows/lld-tests.yml b/.github/workflows-disabled/lld-tests.yml
similarity index 100%
rename from .github/workflows/lld-tests.yml
rename to .github/workflows-disabled/lld-tests.yml
diff --git a/.github/workflows/lldb-tests.yml b/.github/workflows-disabled/lldb-tests.yml
similarity index 100%
rename from .github/workflows/lldb-tests.yml
rename to .github/workflows-disabled/lldb-tests.yml
diff --git a/.github/workflows/llvm-bugs.yml b/.github/workflows-disabled/llvm-bugs.yml
similarity index 100%
rename from .github/workflows/llvm-bugs.yml
rename to .github/workflows-disabled/llvm-bugs.yml
diff --git a/.github/workflows/llvm-tests.yml b/.github/workflows-disabled/llvm-tests.yml
similarity index 100%
rename from .github/workflows/llvm-tests.yml
rename to .github/workflows-disabled/llvm-tests.yml
diff --git a/.github/workflows/new-issues.yml b/.github/workflows-disabled/new-issues.yml
similarity index 100%
rename from .github/workflows/new-issues.yml
rename to .github/workflows-disabled/new-issues.yml
diff --git a/.github/workflows/new-prs.yml b/.github/workflows-disabled/new-prs.yml
similarity index 100%
rename from .github/workflows/new-prs.yml
rename to .github/workflows-disabled/new-prs.yml
diff --git a/.github/workflows/pr-code-format.yml b/.github/workflows-disabled/pr-code-format.yml
similarity index 100%
rename from .github/workflows/pr-code-format.yml
rename to .github/workflows-disabled/pr-code-format.yml
diff --git a/.github/workflows/pr-request-release-note.yml b/.github/workflows-disabled/pr-request-release-note.yml
similarity index 100%
rename from .github/workflows/pr-request-release-note.yml
rename to .github/workflows-disabled/pr-request-release-note.yml
diff --git a/.github/workflows/pr-subscriber.yml b/.github/workflows-disabled/pr-subscriber.yml
similarity index 100%
rename from .github/workflows/pr-subscriber.yml
rename to .github/workflows-disabled/pr-subscriber.yml
diff --git a/.github/workflows/release-binaries.yml b/.github/workflows-disabled/release-binaries.yml
similarity index 100%
rename from .github/workflows/release-binaries.yml
rename to .github/workflows-disabled/release-binaries.yml
diff --git a/.github/workflows/release-documentation.yml b/.github/workflows-disabled/release-documentation.yml
similarity index 100%
rename from .github/workflows/release-documentation.yml
rename to .github/workflows-disabled/release-documentation.yml
diff --git a/.github/workflows/release-doxygen.yml b/.github/workflows-disabled/release-doxygen.yml
similarity index 100%
rename from .github/workflows/release-doxygen.yml
rename to .github/workflows-disabled/release-doxygen.yml
diff --git a/.github/workflows/release-lit.yml b/.github/workflows-disabled/release-lit.yml
similarity index 100%
rename from .github/workflows/release-lit.yml
rename to .github/workflows-disabled/release-lit.yml
diff --git a/.github/workflows/release-tasks.yml b/.github/workflows-disabled/release-tasks.yml
similarity index 100%
rename from .github/workflows/release-tasks.yml
rename to .github/workflows-disabled/release-tasks.yml
diff --git a/.github/workflows/scorecard.yml b/.github/workflows-disabled/scorecard.yml
similarity index 100%
rename from .github/workflows/scorecard.yml
rename to .github/workflows-disabled/scorecard.yml
diff --git a/.github/workflows/spirv-tests.yml b/.github/workflows-disabled/spirv-tests.yml
similarity index 100%
rename from .github/workflows/spirv-tests.yml
rename to .github/workflows-disabled/spirv-tests.yml
diff --git a/.github/workflows/version-check.yml b/.github/workflows-disabled/version-check.yml
similarity index 100%
rename from .github/workflows/version-check.yml
rename to .github/workflows-disabled/version-check.yml
diff --git a/.github/workflows/clang-tests.yml b/.github/workflows/clang-tests.yml
index 2569ce19518e3e..7e29f48b2b9f20 100644
--- a/.github/workflows/clang-tests.yml
+++ b/.github/workflows/clang-tests.yml
@@ -5,14 +5,14 @@ permissions:
on:
workflow_dispatch:
- push:
- branches:
- - 'release/**'
- paths:
- - 'clang/**'
- - '.github/workflows/clang-tests.yml'
- - '.github/workflows/llvm-project-tests.yml'
- - '!llvm/**'
+ # push:
+ # branches:
+ # - 'release/**'
+ # paths:
+ # - 'clang/**'
+ # - '.github/workflows/clang-tests.yml'
+ # - '.github/workflows/llvm-project-tests.yml'
+ # - '!llvm/**'
pull_request:
branches:
- 'release/**'
@@ -30,9 +30,10 @@ concurrency:
jobs:
check_clang:
- if: github.repository_owner == 'llvm'
- name: Test clang,lldb,libclc
+ # if: github.repository_owner == 'llvm'
+ name: Test clang
uses: ./.github/workflows/llvm-project-tests.yml
with:
build_target: check-clang
- projects: clang;lldb;libclc
+ extra_cmake_args: -DLLVM_TARGETS_TO_BUILD="X86;RISCV" -DLLVM_PARALLEL_LINK_JOBS=1
+ projects: clang
diff --git a/.github/workflows/llvm-project-tests.yml b/.github/workflows/llvm-project-tests.yml
index a52dd2db8035dd..28d8ba1720d204 100644
--- a/.github/workflows/llvm-project-tests.yml
+++ b/.github/workflows/llvm-project-tests.yml
@@ -14,7 +14,7 @@ on:
required: false
os_list:
required: false
- default: '["ubuntu-latest", "windows-2019", "macOS-13"]'
+ default: '["ubuntu-latest"]'
python_version:
required: false
type: string
@@ -37,9 +37,7 @@ on:
os_list:
required: false
type: string
- # Use windows-2019 due to:
- # https://developercommunity.visualstudio.com/t/Prev-Issue---with-__assume-isnan-/1597317
- default: '["ubuntu-latest", "windows-2019", "macOS-13"]'
+ default: '["ubuntu-latest"]'
python_version:
required: false
@@ -118,11 +116,11 @@ jobs:
else
builddir="$(pwd)"/build
fi
- if [ "${{ runner.os }}" == "macOS" ]; then
- # Workaround test failure on some lld tests on MacOS
- # https://github.com/llvm/llvm-project/issues/81967
- extra_cmake_args="-DLLVM_DISABLE_ASSEMBLY_FILES=ON"
- fi
+ # if [ "${{ runner.os }}" == "macOS" ]; then
+ # # Workaround test failure on some lld tests on MacOS
+ # # https://github.com/llvm/llvm-project/issues/81967
+ # extra_cmake_args="-DLLVM_DISABLE_ASSEMBLY_FILES=ON"
+ # fi
echo "llvm-builddir=$builddir" >> "$GITHUB_OUTPUT"
cmake -G Ninja \
-B "$builddir" \
@@ -137,13 +135,13 @@ jobs:
${{ inputs.extra_cmake_args }}
ninja -C "$builddir" '${{ inputs.build_target }}'
- - name: Build and Test libclc
- if: "!startsWith(matrix.os, 'windows') && contains(inputs.projects, 'libclc')"
- env:
- LLVM_BUILDDIR: ${{ steps.build-llvm.outputs.llvm-builddir }}
- run: |
- # Make sure all of LLVM libraries that llvm-config needs are built.
- ninja -C "$LLVM_BUILDDIR"
- cmake -G Ninja -S libclc -B libclc-build -DLLVM_DIR="$LLVM_BUILDDIR"/lib/cmake/llvm -DLIBCLC_TARGETS_TO_BUILD="amdgcn--;amdgcn--amdhsa;r600--;nvptx--;nvptx64--;nvptx--nvidiacl;nvptx64--nvidiacl"
- ninja -C libclc-build
- ninja -C libclc-build test
+ # - name: Build and Test libclc
+ # if: "!startsWith(matrix.os, 'windows') && contains(inputs.projects, 'libclc')"
+ # env:
+ # LLVM_BUILDDIR: ${{ steps.build-llvm.outputs.llvm-builddir }}
+ # run: |
+ # # Make sure all of LLVM libraries that llvm-config needs are built.
+ # ninja -C "$LLVM_BUILDDIR"
+ # cmake -G Ninja -S libclc -B libclc-build -DLLVM_DIR="$LLVM_BUILDDIR"/lib/cmake/llvm -DLIBCLC_TARGETS_TO_BUILD="amdgcn--;amdgcn--amdhsa;r600--;nvptx--;nvptx64--;nvptx--nvidiacl;nvptx64--nvidiacl"
+ # ninja -C libclc-build
+ # ninja -C libclc-build test
More information about the llvm-branch-commits
mailing list