@@ -126,13 +126,9 @@ jobs:
126126 if [[ -n "${{ inputs.libtiledb_ref }}" ]]; then
127127 # Build against custom TileDB
128128 export TILEDB_PATH="${GITHUB_WORKSPACE//\\//}/_tiledb_core/dist"
129- python -m pip install --verbose .[test]
130- else
131- # Build with default TileDB (from PyPI or bundled)
132- pipx run --python ${{ matrix.python-version }} build
133- WHEEL_NAME=$(ls dist/*.whl)
134- pip install --verbose ${WHEEL_NAME}[test]
135129 fi
130+ # Install TileDB-Py (uses custom TileDB if TILEDB_PATH is set, otherwise uses default)
131+ python -m pip install --verbose .[test]
136132
137133 - name : " Copy TileDB DLLs to package (Windows)"
138134 if : inputs.libtiledb_ref && runner.os == 'Windows'
@@ -180,21 +176,36 @@ jobs:
180176 done;
181177 if : failure()
182178
183- - name : " Upload build artifacts (default mode) "
184- if : always() && !inputs.libtiledb_ref
179+ - name : " Upload build logs "
180+ if : always()
185181 uses : actions/upload-artifact@v4
186182 with :
187- name : cibw-wheels-${{ matrix.os }}-${{ matrix.python-version }}
188- path : " ."
183+ name : build-logs-${{ matrix.os }}-${{ matrix.python-version }}
184+ path : |
185+ build/**/*.log
186+ _tiledb_core/build/**/*.log
187+ if-no-files-found : ignore
189188
190- - name : " Upload debug artifacts (custom TileDB mode )"
191- if : always() && inputs.libtiledb_ref
189+ - name : " Upload crash dumps (Linux )"
190+ if : always() && startsWith(matrix.os, 'ubuntu-')
192191 uses : actions/upload-artifact@v4
193192 with :
194- name : debug-${{ matrix.os }}-${{ matrix.python-version }}
195- path : |
196- dist/*.whl
197- dist/*.tar.gz
198- _skbuild/**/*.log
199- build/**/*.log
193+ name : coredumps-${{ matrix.os }}-${{ matrix.python-version }}
194+ path : /var/lib/apport/coredump/
195+ if-no-files-found : ignore
196+
197+ - name : " Upload crash dumps (macOS)"
198+ if : always() && startsWith(matrix.os, 'macos-')
199+ uses : actions/upload-artifact@v4
200+ with :
201+ name : coredumps-${{ matrix.os }}-${{ matrix.python-version }}
202+ path : /cores/
203+ if-no-files-found : ignore
204+
205+ - name : " Upload crash dumps (Windows)"
206+ if : always() && startsWith(matrix.os, 'windows-')
207+ uses : actions/upload-artifact@v4
208+ with :
209+ name : crashdumps-${{ matrix.os }}-${{ matrix.python-version }}
210+ path : ${{ env.LOCALAPPDATA }}/CrashDumps/*.dmp
200211 if-no-files-found : ignore
0 commit comments