|
60 | 60 | - uses: Swatinem/rust-cache@v2 |
61 | 61 | with: |
62 | 62 | # Update this key to force a new cache |
63 | | - prefix-key: "python-wheel-windows-latest-v2" |
| 63 | + prefix-key: "python-wheel-windows-latest-v3" |
64 | 64 |
|
65 | 65 | - name: Clone vcpkg |
66 | 66 | uses: actions/checkout@v6 |
@@ -89,11 +89,10 @@ jobs: |
89 | 89 | VCPKG_DEFAULT_TRIPLET: x64-windows-dynamic-release |
90 | 90 | CMAKE_TOOLCHAIN_FILE: ${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake |
91 | 91 | CIBW_BUILD: "*-win_amd64" |
92 | | - CIBW_TEST_SKIP: "cp314* cp38*" |
93 | 92 | CIBW_TEST_REQUIRES: pytest adbc_driver_manager geoarrow-pyarrow geopandas |
94 | 93 | CIBW_TEST_COMMAND: pytest {package}/tests -vv |
95 | 94 |
|
96 | | - - uses: actions/upload-artifact@v5 |
| 95 | + - uses: actions/upload-artifact@v6 |
97 | 96 | with: |
98 | 97 | name: release-wheels-windows-x86_64 |
99 | 98 | path: python/sedonadb/dist/*.whl |
@@ -143,15 +142,68 @@ jobs: |
143 | 142 | ./wheels-build-macos.sh sedonadb |
144 | 143 | env: |
145 | 144 | VCPKG_ROOT: ${{ github.workspace }}/vcpkg |
146 | | - CIBW_TEST_SKIP: "cp314*" |
147 | 145 | CIBW_TEST_REQUIRES: pytest adbc_driver_manager geoarrow-pyarrow geopandas duckdb |
148 | 146 | CIBW_TEST_COMMAND: pytest {package}/tests -vv |
149 | 147 |
|
150 | | - - uses: actions/upload-artifact@v5 |
| 148 | + - uses: actions/upload-artifact@v6 |
151 | 149 | with: |
152 | 150 | name: release-wheels-macOS-arm64 |
153 | 151 | path: python/sedonadb/dist/*.whl |
154 | 152 |
|
| 153 | + macOS-amd64: |
| 154 | + runs-on: macos-15-intel |
| 155 | + |
| 156 | + steps: |
| 157 | + - uses: actions/checkout@v6 |
| 158 | + with: |
| 159 | + submodules: 'true' |
| 160 | + fetch-depth: 0 |
| 161 | + |
| 162 | + - uses: actions/setup-python@v6 |
| 163 | + with: |
| 164 | + python-version: "3.13" |
| 165 | + |
| 166 | + - name: Install cibuildwheel |
| 167 | + run: python -m pip install cibuildwheel==3.1.4 |
| 168 | + |
| 169 | + - uses: Swatinem/rust-cache@v2 |
| 170 | + with: |
| 171 | + # Update this key to force a new cache |
| 172 | + prefix-key: "python-wheel-macOS-latest-v2" |
| 173 | + |
| 174 | + - name: Clone vcpkg |
| 175 | + uses: actions/checkout@v6 |
| 176 | + with: |
| 177 | + repository: microsoft/vcpkg |
| 178 | + ref: ${{ env.VCPKG_REF }} |
| 179 | + path: vcpkg |
| 180 | + |
| 181 | + - name: Set SedonaDB dev version |
| 182 | + shell: bash |
| 183 | + run: | |
| 184 | + # Set the unique development version anywhere except a release branch |
| 185 | + if [[ "${GITHUB_REF##*/}" =~ ^branch-[0-9]+\.[0-9]+\.[0-9]+$ ]]; then |
| 186 | + version="${GITHUB_REF##*/branch-}" |
| 187 | + echo "${version}" |
| 188 | + else |
| 189 | + python ci/scripts/set_dev_version.py |
| 190 | + fi |
| 191 | +
|
| 192 | + - name: Build and test wheels (sedonadb) |
| 193 | + run: | |
| 194 | + cd ci/scripts |
| 195 | + ./wheels-build-macos.sh sedonadb |
| 196 | + env: |
| 197 | + VCPKG_ROOT: ${{ github.workspace }}/vcpkg |
| 198 | + CIBW_TEST_REQUIRES: pytest adbc_driver_manager geoarrow-pyarrow geopandas duckdb |
| 199 | + CIBW_TEST_COMMAND: pytest {package}/tests -vv |
| 200 | + SEDONADB_MACOS_ARCH: x86_64 |
| 201 | + |
| 202 | + - uses: actions/upload-artifact@v6 |
| 203 | + with: |
| 204 | + name: release-wheels-macOS-amd64 |
| 205 | + path: python/sedonadb/dist/*.whl |
| 206 | + |
155 | 207 | wheels-linux: |
156 | 208 | name: ${{ matrix.config.label }} |
157 | 209 | runs-on: ${{ matrix.config.os }} |
@@ -191,21 +243,20 @@ jobs: |
191 | 243 | ./wheels-build-linux.sh ${{ matrix.config.arch }} sedonadb |
192 | 244 | env: |
193 | 245 | CIBW_SKIP: "*musllinux*" |
194 | | - CIBW_TEST_SKIP: "cp314*" |
195 | 246 | CIBW_TEST_REQUIRES: pytest adbc_driver_manager geoarrow-pyarrow geopandas duckdb |
196 | 247 | CIBW_TEST_COMMAND: pytest {package}/tests -vv |
197 | 248 |
|
198 | | - - uses: actions/upload-artifact@v5 |
| 249 | + - uses: actions/upload-artifact@v6 |
199 | 250 | with: |
200 | 251 | name: release-wheels-${{ matrix.config.label }} |
201 | 252 | path: python/sedonadb/dist/*.whl |
202 | 253 |
|
203 | 254 | upload_nightly: |
204 | | - needs: ["wheels-linux", "macOS-arm64", "windows-x86_64"] |
| 255 | + needs: ["wheels-linux", "macOS-arm64", "macOS-amd64", "windows-x86_64"] |
205 | 256 | name: Upload nightly packages |
206 | 257 | runs-on: "macos-latest" |
207 | 258 | steps: |
208 | | - - uses: actions/download-artifact@v6 |
| 259 | + - uses: actions/download-artifact@v7 |
209 | 260 | with: |
210 | 261 | pattern: release-* |
211 | 262 | merge-multiple: true |
|
0 commit comments