GHA/linux: make OpenLDAP local build smaller

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
This commit is contained in:
Viktor Szakats 2025-10-27 07:02:39 +01:00
parent a49e4e3d16
commit ab20bb47cf
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View 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)'