From b4070ebfa09b6cf7b1aaac757fe13b076967c1b2 Mon Sep 17 00:00:00 2001 From: kylesower Date: Sat, 13 Sep 2025 11:03:43 -0500 Subject: [PATCH 1/2] Speed up actions by excluding paths from dpkg --- .github/workflows/ci.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f320872..87072e9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -19,6 +19,11 @@ jobs: - name: Set up LLVM and Clang run: | + sudo tee /etc/dpkg/dpkg.cfg.d/01_nodoc > /dev/null << 'EOF' + path-exclude /usr/share/doc/* + path-exclude /usr/share/man/* + path-exclude /usr/share/info/* + EOF sudo apt-get update sudo apt-get install -y lld llvm llvm-dev clang From ddf353ce40aa3e243946ecbfc00a1cda2ab5dcc9 Mon Sep 17 00:00:00 2001 From: kylesower Date: Sat, 13 Sep 2025 11:26:49 -0500 Subject: [PATCH 2/2] Use a different method to disable man-db updates to speed up CI --- .github/workflows/ci.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 87072e9..c72db4c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -19,11 +19,9 @@ jobs: - name: Set up LLVM and Clang run: | - sudo tee /etc/dpkg/dpkg.cfg.d/01_nodoc > /dev/null << 'EOF' - path-exclude /usr/share/doc/* - path-exclude /usr/share/man/* - path-exclude /usr/share/info/* - EOF + # Don't waste a bunch of time processing man-db triggers + echo "set man-db/auto-update false" | sudo debconf-communicate + sudo dpkg-reconfigure man-db sudo apt-get update sudo apt-get install -y lld llvm llvm-dev clang