Skip to content

Commit f7abc04

Browse files
committed
just update generator
1 parent 4f1593c commit f7abc04

1 file changed

Lines changed: 28 additions & 36 deletions

File tree

.github/workflows/python_packages.yml

Lines changed: 28 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: actions/setup-python@v3
2121
name: Install Python
2222
with:
23-
python-version: "3.9"
23+
python-version: '3.9'
2424

2525
- name: Build wheels
2626
uses: pypa/cibuildwheel@v3.3.1
@@ -45,7 +45,7 @@ jobs:
4545
- uses: actions/setup-python@v3
4646
name: Install Python
4747
with:
48-
python-version: "3.9"
48+
python-version: '3.9'
4949

5050
- name: Build wheels
5151
uses: pypa/cibuildwheel@v3.3.1
@@ -71,7 +71,7 @@ jobs:
7171
- uses: actions/setup-python@v3
7272
name: Install Python
7373
with:
74-
python-version: "3.9"
74+
python-version: '3.9'
7575

7676
- name: Install Deps
7777
run: |
@@ -105,7 +105,7 @@ jobs:
105105
- uses: actions/setup-python@v3
106106
name: Install Python
107107
with:
108-
python-version: "3.9"
108+
python-version: '3.9'
109109
architecture: x86
110110

111111
- name: Install Deps
@@ -127,24 +127,24 @@ jobs:
127127
name: Build wheels on macos-15 (arm64)
128128
runs-on: macos-15
129129
env:
130-
SQLite3_ROOT: ${{ github.workspace }}/libs
131-
MACOSX_DEPLOYMENT_TARGET: "14.0"
132-
CIBW_SKIP: ""
133-
CIBW_TEST_COMMAND: python -c "import pygeodiff; pygeodiff.GeoDiff().version()"
134-
CIBW_BEFORE_ALL: >
135-
wget https://www.sqlite.org/2024/sqlite-autoconf-3460100.tar.gz &&
136-
tar -xzvf sqlite-autoconf-3460100.tar.gz &&
137-
cd sqlite-autoconf-3460100 &&
138-
CC=clang CFLAGS="-arch arm64 -O3 -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_COLUMN_METADATA" ./configure --enable-dynamic-extensions --prefix=${{ github.workspace }}/libs/ &&
139-
make install
130+
SQLite3_ROOT: ${{ github.workspace }}/libs
131+
MACOSX_DEPLOYMENT_TARGET: '14.0'
132+
CIBW_SKIP: ""
133+
CIBW_TEST_COMMAND: python -c "import pygeodiff; pygeodiff.GeoDiff().version()"
134+
CIBW_BEFORE_ALL: >
135+
wget https://www.sqlite.org/2024/sqlite-autoconf-3460100.tar.gz &&
136+
tar -xzvf sqlite-autoconf-3460100.tar.gz &&
137+
cd sqlite-autoconf-3460100 &&
138+
CC=clang CFLAGS="-arch arm64 -O3 -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_COLUMN_METADATA" ./configure --enable-dynamic-extensions --prefix=${{ github.workspace }}/libs/ &&
139+
make install
140140
141141
steps:
142142
- uses: actions/checkout@v3
143143

144144
- uses: actions/setup-python@v3
145145
name: Install Python
146146
with:
147-
python-version: "3.9"
147+
python-version: '3.9'
148148

149149
- name: Install Deps
150150
run: |
@@ -162,24 +162,24 @@ jobs:
162162
name: Build wheels on macos-15 (Intel)
163163
runs-on: macos-15-intel
164164
env:
165-
SQLite3_ROOT: ${{ github.workspace }}/libs
166-
MACOSX_DEPLOYMENT_TARGET: "10.9"
167-
CIBW_SKIP: ""
168-
CIBW_TEST_COMMAND: python -c "import pygeodiff; pygeodiff.GeoDiff().version()"
169-
CIBW_BEFORE_ALL: >
170-
wget https://www.sqlite.org/2024/sqlite-autoconf-3460100.tar.gz &&
171-
tar -xzvf sqlite-autoconf-3460100.tar.gz &&
172-
cd sqlite-autoconf-3460100 &&
173-
CC=clang CFLAGS="-arch x86_64 -O3 -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_COLUMN_METADATA" ./configure --enable-dynamic-extensions --prefix=${{ github.workspace }}/libs/ &&
174-
make install
165+
SQLite3_ROOT: ${{ github.workspace }}/libs
166+
MACOSX_DEPLOYMENT_TARGET: '10.9'
167+
CIBW_SKIP: ""
168+
CIBW_TEST_COMMAND: python -c "import pygeodiff; pygeodiff.GeoDiff().version()"
169+
CIBW_BEFORE_ALL: >
170+
wget https://www.sqlite.org/2024/sqlite-autoconf-3460100.tar.gz &&
171+
tar -xzvf sqlite-autoconf-3460100.tar.gz &&
172+
cd sqlite-autoconf-3460100 &&
173+
CC=clang CFLAGS="-arch x86_64 -O3 -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_COLUMN_METADATA" ./configure --enable-dynamic-extensions --prefix=${{ github.workspace }}/libs/ &&
174+
make install
175175
176176
steps:
177177
- uses: actions/checkout@v3
178178

179179
- uses: actions/setup-python@v3
180180
name: Install Python
181181
with:
182-
python-version: "3.9"
182+
python-version: '3.9'
183183

184184
- name: Install Deps
185185
run: |
@@ -202,7 +202,7 @@ jobs:
202202
- uses: actions/setup-python@v3
203203
name: Install Python
204204
with:
205-
python-version: "3.9"
205+
python-version: '3.9'
206206

207207
- name: Install deps
208208
run: |
@@ -218,15 +218,7 @@ jobs:
218218
name: dist-source
219219

220220
upload_pypi:
221-
needs:
222-
[
223-
build_windows_wheels,
224-
build_linux_wheels_manylinux_2_28,
225-
build_linux_wheels_musllinux_x86_64,
226-
build_macos_wheels,
227-
build_macos_arm64_wheels,
228-
build_sdist,
229-
]
221+
needs: [build_windows_wheels, build_linux_wheels_manylinux_2_28, build_linux_wheels_musllinux_x86_64, build_macos_wheels, build_macos_arm64_wheels, build_sdist]
230222
runs-on: ubuntu-latest
231223
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
232224
steps:

0 commit comments

Comments
 (0)