]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CI: speedup apt package install
authorIlia Shipitsin <chipitsine@gmail.com>
Fri, 31 May 2024 15:04:14 +0000 (17:04 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Mon, 3 Jun 2024 09:59:07 +0000 (11:59 +0200)
we are fine to skip some repos like languages and translations.
this drops number of repos twice

.github/workflows/coverity.yml
.github/workflows/cross-zoo.yml
.github/workflows/vtest.yml

index 82776148a798767d8c796a680f644e6b0155b46e..0e7fa07aa73715324968ef80a74685413cfc4cf9 100644 (file)
@@ -20,7 +20,7 @@ jobs:
     - uses: actions/checkout@v4
     - name: Install apt dependencies
       run: |
-        sudo apt-get update
+        sudo apt-get update -o Acquire::Languages=none -o Acquire::Translation=none
         sudo apt-get --no-install-recommends -y install \
           liblua5.4-dev \
           libsystemd-dev
index 5abd9cbcd22b45274268c5bd382a138306072328..82d903652fef77218db07cd808b9d748d90e568d 100644 (file)
@@ -94,7 +94,7 @@ jobs:
     steps:
     - name: install packages
       run: |
-        sudo apt-get update
+        sudo apt-get update -o Acquire::Languages=none -o Acquire::Translation=none
         sudo apt-get -yq --force-yes install \
             gcc-${{ matrix.platform.arch }} \
             ${{ matrix.platform.libs }}
index 8b10a1cdc9750e3591c91784db8b31ed02d63484..ea8b5ee74d82c33e95b990d668bdc8ea41ce6b80 100644 (file)
@@ -80,7 +80,7 @@ jobs:
     - name: Install apt dependencies
       if: ${{ startsWith(matrix.os, 'ubuntu-') }}
       run: |
-        sudo apt-get update
+        sudo apt-get update -o Acquire::Languages=none -o Acquire::Translation=none
         sudo apt-get --no-install-recommends -y install \
           ${{ contains(matrix.FLAGS, 'USE_LUA=1')     && 'liblua5.4-dev'  || '' }} \
           ${{ contains(matrix.FLAGS, 'USE_PCRE2=1')   && 'libpcre2-dev'   || '' }} \