-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9776991
commit 36cc53a
Showing
1 changed file
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -153,10 +153,16 @@ jobs: | |
name: Build wheels on macos-14 (arm64) | ||
runs-on: macos-14 | ||
env: | ||
SQLite3_ROOT: /opt/homebrew/opt/sqlite | ||
SQLite3_ROOT: ${{ github.workspace }}/libs | ||
MACOSX_DEPLOYMENT_TARGET: '14.0' | ||
CIBW_SKIP: cp27-* cp35-* cp36-* | ||
CIBW_TEST_COMMAND: python -c "import pygeodiff; pygeodiff.GeoDiff().version()" | ||
CIBW_BEFORE_ALL: > | ||
wget https://www.sqlite.org/2024/sqlite-autoconf-3460100.tar.gz && | ||
tar -xzvf sqlite-autoconf-3460100.tar.gz && | ||
cd sqlite-autoconf-3460100 && | ||
CC=clang CFLAGS="-arch arm64 -O3 -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_COLUMN_METADATA" ./configure --enable-dynamic-extensions --prefix=${{ github.workspace }}/libs/ && | ||
make install | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
@@ -168,10 +174,7 @@ jobs: | |
|
||
- name: Install Deps | ||
run: | | ||
brew install sqlite3 | ||
pip install setuptools scikit-build wheel cmake | ||
ls -la /opt/homebrew | ||
- name: Build wheels | ||
uses: pypa/[email protected] | ||
|