[llvm] [Github][libc] Use a container for fullbuild tests (PR #181436)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 13 15:47:55 PST 2026
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/181436
>From 74f98fd66f8be5a1bf70ccc8c0c98f20ebdf8231 Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Fri, 13 Feb 2026 23:45:56 +0000
Subject: [PATCH] [Github][libc] Use a container for fullbuild tests
This avoids needing to set up deps every time and avoids failures due to
failed dependency installation.
---
.github/workflows/libc-fullbuild-tests.yml | 15 ++-------------
1 file changed, 2 insertions(+), 13 deletions(-)
diff --git a/.github/workflows/libc-fullbuild-tests.yml b/.github/workflows/libc-fullbuild-tests.yml
index d9445a6407ccf..cbde4641f40bb 100644
--- a/.github/workflows/libc-fullbuild-tests.yml
+++ b/.github/workflows/libc-fullbuild-tests.yml
@@ -12,6 +12,8 @@ on:
jobs:
build:
runs-on: ${{ matrix.os }}
+ container:
+ image: 'ghcr.io/llvm/libc-ubuntu-24.04'
strategy:
fail-fast: false
matrix:
@@ -102,19 +104,6 @@ jobs:
max-size: 1G
key: libc_fullbuild_${{ matrix.c_compiler }}
variant: sccache
-
- # Notice:
- # - MPFR is required by some of the mathlib tests.
- # - Debian has a multilib setup, so we need to symlink the asm directory.
- # For more information, see https://wiki.debian.org/Multiarch/LibraryPathOverview
- - name: Prepare dependencies (Ubuntu)
- run: |
- wget https://apt.llvm.org/llvm.sh
- chmod +x llvm.sh
- sudo ./llvm.sh 21
- sudo apt-get update
- sudo apt-get install -y libmpfr-dev libgmp-dev libmpc-dev ninja-build linux-libc-dev
- sudo ln -sf /usr/include/$(uname -p)-linux-gnu/asm /usr/include/asm
- name: Set reusable strings
id: strings
More information about the llvm-commits
mailing list