Skip to content

Commit

Permalink
Revert macos zlib removal (#36)
Browse files Browse the repository at this point in the history
* Revert "remove zlib build from macos (#35)"

This reverts commit ecdf1e0.

* fix zlib url
  • Loading branch information
bjia56 authored Jan 25, 2024
1 parent ecdf1e0 commit 0c256d1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build-and-test-make.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 0c256d1

Please sign in to comment.