Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
- pypy-wheel-macos
tags:
- 'v*'

Expand All @@ -17,7 +18,7 @@ jobs:
- name: linux
os: ubuntu-24.04
- name: macos
os: macos-13
os: macos-15

steps:
- uses: actions/checkout@v4
Expand All @@ -32,7 +33,7 @@ jobs:
platforms: all

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.21.3
run: python -m pip install cibuildwheel==2.22.0

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
Expand Down
15 changes: 2 additions & 13 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,19 +85,6 @@ else
cd ci
fi

# Install zlib
# XXX Build libgit2 with USE_BUNDLED_ZLIB instead?
if [ -n "$ZLIB_VERSION" ]; then
FILENAME=zlib-$ZLIB_VERSION
wget https://www.zlib.net/$FILENAME.tar.gz -N
tar xf $FILENAME.tar.gz
cd $FILENAME
./configure --prefix=$PREFIX
make
make install
cd ..
fi

# Install openssl
if [ -n "$OPENSSL_VERSION" ]; then
FILENAME=openssl-$OPENSSL_VERSION
Expand Down Expand Up @@ -189,6 +176,7 @@ if [ -n "$LIBGIT2_VERSION" ]; then
-DOPENSSL_SSL_LIBRARY="../openssl-universal/$LIBSSL" \
-DOPENSSL_INCLUDE_DIR="../openssl-x86/include" \
-DCMAKE_INSTALL_PREFIX=$PREFIX \
-DUSE_BUNDLED_ZLIB=ON \
-DUSE_SSH=$USE_SSH
else
export CFLAGS=-I$PREFIX/include
Expand All @@ -197,6 +185,7 @@ if [ -n "$LIBGIT2_VERSION" ]; then
-DBUILD_TESTS=OFF \
-DCMAKE_BUILD_TYPE=$BUILD_TYPE \
-DCMAKE_INSTALL_PREFIX=$PREFIX \
-DUSE_BUNDLED_ZLIB=ON \
-DUSE_SSH=$USE_SSH
fi
cmake --build . --target install
Expand Down