]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
GHA/linux: make OpenLDAP local build smaller
authorViktor Szakats <commit@vsz.me>
Mon, 27 Oct 2025 06:02:39 +0000 (07:02 +0100)
committerViktor Szakats <commit@vsz.me>
Mon, 27 Oct 2025 06:17:32 +0000 (07:17 +0100)
By disabling its `slapd` component, that's not needed for curl.

Cache size: 2.7 -> 1.7 MB

Also merge two `make` invocations.

Closes #19250

.github/workflows/linux.yml

index 527c9ce6075b93c57d74b2c534ea1a705801484e..e28354c257e8869b4160fbd63fbc0c937f1dd738 100644 (file)
@@ -496,8 +496,7 @@ jobs:
           curl --disable --fail --silent --show-error --connect-timeout 15 --max-time 120 --retry 6 --retry-connrefused \
             --location "https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-${OPENLDAP_VERSION}.tgz" | tar -xz
           cd "openldap-${OPENLDAP_VERSION}"
-          ./configure --enable-static --disable-shared --prefix=/home/runner/openldap-static
-          make
+          ./configure --enable-static --disable-shared --disable-slapd --prefix=/home/runner/openldap-static
           make install
 
       - name: 'cache openssl (thread sanitizer)'