File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 strategy :
1717 matrix :
1818 include :
19- - os : ubuntu-latest
20- openldap_ref : ' master'
21- use_container : true
2219 - os : ubuntu-latest
2320 openldap_ref : ' OPENLDAP_REL_ENG_2_5_13'
2421 use_container : true
6764 sudo mkdir -p /opt/gnutls /opt/wolfssl /opt/wolfssl-gnutls-wrapper /opt/nettle
6865 sudo chown -R $USER:$USER /opt/gnutls /opt/wolfssl /opt/wolfssl-gnutls-wrapper /opt/nettle
6966
70- # ───────────── cache the wolfssl/gnutls tool-chain ─────────────
7167 - name : Restore cached gnutls-wolfssl
7268 id : cache-gnutls
7369 uses : actions/cache@v4
@@ -108,7 +104,6 @@ jobs:
108104 else
109105 GNUTLS_INSTALL=/opt/gnutls WOLFSSL_INSTALL=/opt/wolfssl ./setup.sh
110106 fi
111- # For native runner: also save to cache location
112107 if [[ "${{ matrix.use_container }}" == "false" ]]; then
113108 mkdir -p ~/cache
114109 sudo cp -a /opt/gnutls ~/cache/
@@ -143,11 +138,8 @@ jobs:
143138
144139 - name : Build OpenLDAP at ${{ matrix.openldap_ref }}
145140 run : |
146- git clone https://git.openldap.org/openldap/openldap.git
147- cd openldap
148- if [ "${{ matrix.openldap_ref }}" != "master" ]; then
149- git checkout ${{ matrix.openldap_ref }}
150- fi
141+ git clone --depth 1 --branch "${{ matrix.openldap_ref }}" \
142+ https://git.openldap.org/openldap/openldap.git
151143 - name : Configure OpenLDAP
152144 working-directory : openldap
153145 run : |
@@ -196,7 +188,7 @@ jobs:
196188 working-directory : openldap
197189 run : |
198190 make depend
199- make
191+ make -j$(nproc)
200192 - name : Test OpenLDAP
201193 working-directory : openldap
202194 run : |
You can’t perform that action at this time.
0 commit comments