diff --git a/.github/workflows/build-and-test-make.yml b/.github/workflows/build-and-test-make.yml index f8d5fc91..1808ed53 100644 --- a/.github/workflows/build-and-test-make.yml +++ b/.github/workflows/build-and-test-make.yml @@ -316,6 +316,17 @@ jobs: run: | pip3 install -r tests/requirements.txt + - name: Build zlib + run: | + curl -LO https://zlib.net/fossils/zlib-1.3.tar.gz + tar xf zlib-1.3.tar.gz + cd zlib-1.3 + CHOST=${{ matrix.host }} ./configure --prefix=${{ runner.temp }}/zlib + make + make install + # Make sure curl will link with libz.so.1 and not libz.so + rm -f ${{ runner.temp }}/zlib/lib/libz.so + - name: Run configure script if: matrix.arch == 'x86_64' run: |