[llvm] [Github] Add LLVM-libc's full-build to Bazel Checks workflow (PR #224749)

Jackson Stogel via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 28 07:56:23 PDT 2026


https://github.com/jtstogel updated https://github.com/llvm/llvm-project/pull/224749

>From 947be9f2241086864b4674c416843faa5ed1b85a Mon Sep 17 00:00:00 2001
From: jtstogel <jtstogel at gmail.com>
Date: Fri, 18 Sep 2026 13:10:58 -0700
Subject: [PATCH] [Github] Add LLVM-libc's full-build to Bazel Checks workflow

This PR adds a job to run `bazelisk test -- at 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.
---
 .github/workflows/bazel-checks.yml | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/bazel-checks.yml b/.github/workflows/bazel-checks.yml
index 712db3cf7fffc..c7ae563a591b5 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 3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
@@ -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 }}



More information about the llvm-commits mailing list