[llvm] [libc][ci] Add qemu armhf and riscv64 overlay tests to precommit CI. (PR #203369)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 14 12:50:21 PDT 2026
https://github.com/lntue updated https://github.com/llvm/llvm-project/pull/203369
>From c810527b4712ecee4328b7a29fa48999736ad2b1 Mon Sep 17 00:00:00 2001
From: Tue Ly <lntue at google.com>
Date: Thu, 11 Jun 2026 16:43:02 -0400
Subject: [PATCH 1/2] [libc] Add qemu armhf overlay tests to precommit CI.
Please enter the commit message for your changes. Lines starting
---
.github/workflows/libc-overlay-tests.yml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/.github/workflows/libc-overlay-tests.yml b/.github/workflows/libc-overlay-tests.yml
index cfa51aa918bce..586a608e66df1 100644
--- a/.github/workflows/libc-overlay-tests.yml
+++ b/.github/workflows/libc-overlay-tests.yml
@@ -128,6 +128,10 @@ jobs:
fail-fast: false
matrix:
include:
+ - arch: armhf
+ target_triple: arm-linux-gnueabihf
+ c_compiler: clang-23
+ cxx_compiler: clang++-23
- arch: riscv64
target_triple: riscv64-linux-gnu
c_compiler: clang-23
>From a46cb5ad9af240321e359c583a4161ccccc5e20a Mon Sep 17 00:00:00 2001
From: Tue Ly <lntue at google.com>
Date: Tue, 14 Jul 2026 15:49:32 -0400
Subject: [PATCH 2/2] Add privileged option so that certain tests have
necessary permissions.
---
.github/workflows/libc-overlay-tests.yml | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/libc-overlay-tests.yml b/.github/workflows/libc-overlay-tests.yml
index 586a608e66df1..f1552e5594364 100644
--- a/.github/workflows/libc-overlay-tests.yml
+++ b/.github/workflows/libc-overlay-tests.yml
@@ -122,7 +122,12 @@ jobs:
name: qemu - ${{ matrix.arch }} - ${{ matrix.c_compiler }}
runs-on: ubuntu-24.04
timeout-minutes: 60
- container: 'ghcr.io/llvm/libc-ubuntu-24.04:latest at sha256:c6e2ee2a9bf5cebd51fd27dd8e85381c2f73d90e091c764082f8ad528ee18918'
+ container:
+ image: 'ghcr.io/llvm/libc-ubuntu-24.04:latest at sha256:c6e2ee2a9bf5cebd51fd27dd8e85381c2f73d90e091c764082f8ad528ee18918'
+ # We need to enable privileged containers so that certain libc tests
+ # have the necessary permissions (like SYS_TIME). There are no security
+ # implications as we are already running in an isolated VM.
+ options: --privileged
strategy:
# Set fail-fast to false to ensure that feedback is delivered for all matrix combinations.
fail-fast: false
More information about the llvm-commits
mailing list