-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[python/ci] Debug MacOS 14 wheel-smoke-test issue
- Loading branch information
Showing
1 changed file
with
14 additions
and
0 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 |
---|---|---|
|
@@ -70,6 +70,14 @@ jobs: | |
name: sdist | ||
- name: rename sdist | ||
run: cp tiledbsoma-*.tar.gz tiledbsoma.tar.gz && ls -lh | ||
- name: Show platform | ||
run: | | ||
echo | ||
echo matrix.platform: ${{ matrix.platform }} | ||
echo matrix.arch: ${{ matrix.arch }} | ||
# This bit is crucial since it's used to match up to a component of the wheel-file name | ||
python -c 'from distutils import util; print(util.get_platform())' | ||
echo | ||
- name: Build wheels | ||
uses: pypa/[email protected] | ||
with: | ||
|
@@ -133,10 +141,16 @@ jobs: | |
- name: Install wheel | ||
run: | | ||
set -x | ||
echo | ||
ls -lR | ||
echo | ||
ls -lR wheels-* | ||
echo | ||
echo matrix.platform: ${{ matrix.platform }} | ||
echo matrix.arch: ${{ matrix.arch }} | ||
# This bit is crucial since it's used to match up to a component of the wheel-file name | ||
python -c 'from distutils import util; print(util.get_platform())' | ||
echo | ||
WHL=$(find . -name 'tiledbsoma-*-cp311-cp311-*${{ matrix.platform }}*_${{ matrix.arch }}.whl') | ||
if [ -z "$WHL" ]; then echo "No wheel found"; exit 1; fi | ||
unzip -l $WHL | ||
|