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:
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
@@ -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' }}
|
||||
|
||||
Reference in New Issue
Block a user