[llvm-branch-commits] [llvm] [Github] Add LLVM-libc's full-build to Bazel Checks workflow (PR #224749)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sun Sep 27 17:21:03 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-github-workflow
Author: Jackson Stogel (jtstogel)
<details>
<summary>Changes</summary>
This PR adds a job to run LLVM-libc's full build test suite in Bazel via `bazelisk test --@<!-- -->llvm-project//libc:build_mode=full @<!-- -->llvm-project//libc/...`. It is part of an effort to support LLVM-libc's full build functionality in Bazel.
---
Full diff: https://github.com/llvm/llvm-project/pull/224749.diff
1 Files Affected:
- (modified) .github/workflows/bazel-checks.yml (+13-2)
``````````diff
diff --git a/.github/workflows/bazel-checks.yml b/.github/workflows/bazel-checks.yml
index f2dd3ab35da9d..91bbfbbac5952 100644
--- a/.github/workflows/bazel-checks.yml
+++ b/.github/workflows/bazel-checks.yml
@@ -44,13 +44,23 @@ jobs:
fi
bazel-build:
- name: "Bazel Build/Test"
+ name: "Bazel ${{ matrix.name }}"
# Only run on US Central workers so we only have to keep one cache warm as
# the cache buckets are per cluster.
runs-on:
group: llvm-premerge-cluster-us-central
labels: llvm-premerge-linux-runners
if: github.repository == 'llvm/llvm-project'
+ strategy:
+ fail-fast: false
+ matrix:
+ include:
+ - name: "Build/Test"
+ flags: ""
+ targets: "@llvm-project//... //..."
+ - name: "LLVM-libc Fullbuild Tests"
+ flags: "-- at llvm-project//libc:build_mode=full"
+ targets: "@llvm-project//libc/..."
steps:
- name: Fetch LLVM sources
uses: actions/checkout at df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
@@ -74,4 +84,5 @@ jobs:
--remote_cache=https://storage.googleapis.com/$CACHE_GCS_BUCKET-bazel \
--google_default_credentials \
--remote_download_outputs=minimal \
- @llvm-project//... //...
+ ${{ matrix.flags }} \
+ ${{ matrix.targets }}
``````````
</details>
https://github.com/llvm/llvm-project/pull/224749
More information about the llvm-branch-commits
mailing list