From 0e15e37942bc9af68864567d923dcb8311bbd38b Mon Sep 17 00:00:00 2001 From: gmweaver Date: Wed, 5 Jun 2024 14:25:34 -0700 Subject: [PATCH] fix before all --- .github/workflows/wheels.yml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 86183f3..843fa45 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -23,9 +23,21 @@ jobs: run: python -m cibuildwheel --output-dir dist env: CIBW_SKIP: cp36-* cp37-* *musllinux* - CIBW_BEFORE_ALL_LINUX: yum install -y autoconf automake curl libtool pkgconfig sudo - CIBW_BEFORE_ALL_MACOS: brew install autoconf automake curl libtool pkg-config - CIBW_BEFORE_ALL: > + CIBW_BEFORE_ALL_LINUX: > + yum install -y autoconf automake curl libtool pkgconfig sudo + git clone https://github.com/openvenues/libpostal && + cd libpostal && + git checkout tags/v1.1 && + ./bootstrap.sh && + ./configure --disable-data-download --disable-sse2 && + make -j4 && + sudo make install && + sudo ldconfig && + pkg-config --cflags libpostal && + pkg-config --libs libpostal && + pkg-config --cflags --libs libpostal + CIBW_BEFORE_ALL_MACOS: > + brew install autoconf automake curl libtool pkg-config git clone https://github.com/openvenues/libpostal && cd libpostal && git checkout tags/v1.1 && @@ -36,7 +48,6 @@ jobs: pkg-config --cflags libpostal && pkg-config --libs libpostal && pkg-config --cflags --libs libpostal - CIBW_AFTER_ALL_LINUX: sudo ldconfig - uses: actions/upload-artifact@v4 with: