1
0
mirror of https://github.com/libssh2/libssh2.git synced 2026-01-27 00:18:12 +03:00

ci/GHA: shorter mbedTLS autotools workaround

Follow-up to 844115393b #1381
Closes #1382
This commit is contained in:
Viktor Szakats
2024-05-08 21:38:09 +02:00
parent 844115393b
commit 736e3d7d8b

View File

@@ -556,22 +556,15 @@ jobs:
if: ${{ matrix.build == 'autotools' }}
run: autoreconf -fi
- name: 'autotools configure'
if: ${{ matrix.build == 'autotools' && matrix.crypto.name != 'mbedTLS' }}
if: ${{ matrix.build == 'autotools' }}
run: |
# Workaround for GHA ARM runner issue
[ '${{ matrix.crypto.name }}' = 'mbedTLS' ] && export LDFLAGS="-L$(brew --prefix)/lib"
mkdir bld && cd bld && ../configure --enable-werror --enable-debug \
--with-libz ${{ matrix.crypto.configure }} \
--disable-docker-tests \
--disable-sshd-tests \
|| { tail -n 1000 config.log; false; }
- name: 'autoconf configure mbedTLS'
if: ${{ matrix.build == 'autotools' && matrix.crypto.name == 'mbedTLS' }}
run: |
mkdir bld && cd bld && LDFLAGS="-L/opt/homebrew/lib" \
../configure --enable-werror --enable-debug \
--with-libz ${{ matrix.crypto.configure }} \
--disable-docker-tests \
--disable-sshd-tests \
|| { tail -n 1000 config.log; false; }
- name: 'autotools build'
if: ${{ matrix.build == 'autotools' }}