File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -153,10 +153,16 @@ jobs:
153
153
name : Build wheels on macos-14 (arm64)
154
154
runs-on : macos-14
155
155
env :
156
- SQLite3_ROOT : /opt/homebrew/opt/sqlite
156
+ SQLite3_ROOT : ${{ github.workspace }}/libs
157
157
MACOSX_DEPLOYMENT_TARGET : ' 14.0'
158
158
CIBW_SKIP : cp27-* cp35-* cp36-*
159
159
CIBW_TEST_COMMAND : python -c "import pygeodiff; pygeodiff.GeoDiff().version()"
160
+ CIBW_BEFORE_ALL : >
161
+ wget https://www.sqlite.org/2024/sqlite-autoconf-3460100.tar.gz &&
162
+ tar -xzvf sqlite-autoconf-3460100.tar.gz &&
163
+ cd sqlite-autoconf-3460100 &&
164
+ CC=clang CFLAGS="-arch arm64 -O3 -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_COLUMN_METADATA" ./configure --enable-dynamic-extensions --prefix=${{ github.workspace }}/libs/ &&
165
+ make install
160
166
161
167
steps :
162
168
- uses : actions/checkout@v3
@@ -168,10 +174,7 @@ jobs:
168
174
169
175
- name : Install Deps
170
176
run : |
171
- brew install sqlite3
172
177
pip install setuptools scikit-build wheel cmake
173
-
174
- ls -la /opt/homebrew
175
178
176
179
- name : Build wheels
177
180
You can’t perform that action at this time.
0 commit comments