From 0c256d14f67dffc12f9643966efff6724ec80827 Mon Sep 17 00:00:00 2001 From: Brett Jia Date: Thu, 25 Jan 2024 11:57:03 -0500 Subject: [PATCH] Revert macos zlib removal (#36) * Revert "remove zlib build from macos (#35)" This reverts commit ecdf1e0bcc17bb9e3b96bd2fb236549d0301c12d. * fix zlib url --- .github/workflows/build-and-test-make.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) 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: |