[llvm-branch-commits] [llvm] Clang Tests (CI Workflow) (PR #235624)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Oct 26 00:13:11 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-github-workflow
Author: Vedant Tewari (mm-vedant)
<details>
<summary>Changes</summary>
Testing clang pre-merge checks on Linux machine via GitHub runner and actions
---
Full diff: https://github.com/llvm/llvm-project/pull/235624.diff
28 Files Affected:
- (renamed) .github/workflows-disabled/build-ci-container.yml ()
- (renamed) .github/workflows-disabled/docs.yml ()
- (renamed) .github/workflows-disabled/issue-release-workflow.yml ()
- (renamed) .github/workflows-disabled/issue-subscriber.yml ()
- (renamed) .github/workflows-disabled/libclang-abi-tests.yml ()
- (renamed) .github/workflows-disabled/libclang-python-tests.yml ()
- (renamed) .github/workflows-disabled/libclc-tests.yml ()
- (renamed) .github/workflows-disabled/libcxx-build-and-test.yaml ()
- (renamed) .github/workflows-disabled/libcxx-check-generated-files.yml ()
- (renamed) .github/workflows-disabled/lld-tests.yml ()
- (renamed) .github/workflows-disabled/lldb-tests.yml ()
- (renamed) .github/workflows-disabled/llvm-bugs.yml ()
- (renamed) .github/workflows-disabled/llvm-tests.yml ()
- (renamed) .github/workflows-disabled/new-issues.yml ()
- (renamed) .github/workflows-disabled/new-prs.yml ()
- (renamed) .github/workflows-disabled/pr-code-format.yml ()
- (renamed) .github/workflows-disabled/pr-request-release-note.yml ()
- (renamed) .github/workflows-disabled/pr-subscriber.yml ()
- (renamed) .github/workflows-disabled/release-binaries.yml ()
- (renamed) .github/workflows-disabled/release-documentation.yml ()
- (renamed) .github/workflows-disabled/release-doxygen.yml ()
- (renamed) .github/workflows-disabled/release-lit.yml ()
- (renamed) .github/workflows-disabled/release-tasks.yml ()
- (renamed) .github/workflows-disabled/scorecard.yml ()
- (renamed) .github/workflows-disabled/spirv-tests.yml ()
- (renamed) .github/workflows-disabled/version-check.yml ()
- (modified) .github/workflows/clang-tests.yml (+12-11)
- (modified) .github/workflows/llvm-project-tests.yml (+17-19)
``````````diff
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
``````````
</details>
https://github.com/llvm/llvm-project/pull/235624
More information about the llvm-branch-commits
mailing list