[llvm-branch-commits] [llvm] [libc] Build fuzzing tests in pre-merge CI tests (PR #185018)

Victor Campos via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Mar 6 07:01:43 PST 2026


https://github.com/vhscampos created https://github.com/llvm/llvm-project/pull/185018

At the moment, no CI job tests whether the fuzzing tests build correctly.

This patch adds the build of fuzzing tests to the pre-merge CI job.

>From f85ff8b38b8854ae76876fe9cd244187c7d56258 Mon Sep 17 00:00:00 2001
From: Victor Campos <victor.campos at arm.com>
Date: Fri, 6 Mar 2026 14:46:26 +0000
Subject: [PATCH] [libc] Build fuzzing tests in pre-merge CI tests

At the moment, no CI job tests whether the fuzzing tests build
correctly.

This patch adds the build of fuzzing tests to the pre-merge CI job.
---
 .github/workflows/libc-fullbuild-tests.yml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/libc-fullbuild-tests.yml b/.github/workflows/libc-fullbuild-tests.yml
index c796196b2180f..109ae93a917eb 100644
--- a/.github/workflows/libc-fullbuild-tests.yml
+++ b/.github/workflows/libc-fullbuild-tests.yml
@@ -121,7 +121,7 @@ jobs:
     # Use MinSizeRel to reduce the size of the build.
     - name: Configure CMake
       run: |
-        export RUNTIMES="libc"
+        export RUNTIMES="compiler-rt;libc"
 
         export CMAKE_FLAGS="
           -G Ninja
@@ -136,7 +136,6 @@ jobs:
           -DCMAKE_INSTALL_PREFIX=${{ steps.strings.outputs.build-install-dir }}"
 
         if [[ ${{ matrix.include_scudo}} == "ON" ]]; then
-          export RUNTIMES="$RUNTIMES;compiler-rt"
           export CMAKE_FLAGS="$CMAKE_FLAGS
             -DLLVM_LIBC_INCLUDE_SCUDO=ON
             -DCOMPILER_RT_BUILD_SCUDO_STANDALONE_WITH_LLVM_LIBC=ON
@@ -162,7 +161,7 @@ jobs:
         cmake 
         --build ${{ steps.strings.outputs.build-output-dir }} 
         --parallel
-        --target install
+        --target install libc-fuzzer
 
     - name: Test
       # Skip UEFI and baremetal tests until we have testing set up.



More information about the llvm-branch-commits mailing list