[llvm-branch-commits] [llvm] release/20.x: [workflows] Add missing -y option to apt-get for abi tests (#133337) (PR #133813)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Mar 31 15:36:30 PDT 2025


https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/133813

Backport 7793bae97d2bad36d870c6df438a6fc034f15112

Requested by: @tstellar

>From 2f6c5807ca7e8263c634eee22a8a353994011dc9 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Mon, 31 Mar 2025 15:30:05 -0700
Subject: [PATCH] [workflows] Add missing -y option to apt-get for abi tests
 (#133337)

(cherry picked from commit 7793bae97d2bad36d870c6df438a6fc034f15112)
---
 .github/workflows/libclang-abi-tests.yml | 4 ++--
 .github/workflows/llvm-tests.yml         | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/libclang-abi-tests.yml b/.github/workflows/libclang-abi-tests.yml
index ff8f38b43098e..65cffccff776f 100644
--- a/.github/workflows/libclang-abi-tests.yml
+++ b/.github/workflows/libclang-abi-tests.yml
@@ -104,7 +104,7 @@ jobs:
       - name: Install abi-compliance-checker
         run: |
           sudo apt-get update
-          sudo apt-get install abi-dumper autoconf pkg-config
+          sudo apt-get install -y abi-dumper autoconf pkg-config
       - name: Install universal-ctags
         run: |
           git clone https://github.com/universal-ctags/ctags.git
@@ -157,7 +157,7 @@ jobs:
       - name: Install abi-compliance-checker
         run: |
           sudo apt-get update
-          sudo apt-get install abi-compliance-checker
+          sudo apt-get install -y abi-compliance-checker
       - name: Compare ABI
         run: |
           for lib in ${{ needs.abi-dump-setup.outputs.ABI_LIBS }}; do
diff --git a/.github/workflows/llvm-tests.yml b/.github/workflows/llvm-tests.yml
index 92debf2a8a269..e2ca2ff44890e 100644
--- a/.github/workflows/llvm-tests.yml
+++ b/.github/workflows/llvm-tests.yml
@@ -92,7 +92,7 @@ jobs:
       - name: Install abi-compliance-checker
         run: |
           sudo apt-get update
-          sudo apt-get install abi-dumper autoconf pkg-config
+          sudo apt-get -y install abi-dumper autoconf pkg-config
       - name: Install universal-ctags
         run: |
           git clone https://github.com/universal-ctags/ctags.git
@@ -166,7 +166,7 @@ jobs:
       - name: Install abi-compliance-checker
         run: |
           sudo apt-get update
-          sudo apt-get install abi-compliance-checker
+          sudo apt-get -y install abi-compliance-checker
       - name: Compare ABI
         run: |
           if [ -s symbol-list/llvm.symbols ]; then



More information about the llvm-branch-commits mailing list