Skip to content

Commit cca314b

Browse files
Merge pull request #5 from Chainscore/hotfix/wheel-test-deps
Skip aarch64 wheel install on x86 runners
2 parents 6f0f598 + 771d1f0 commit cca314b

1 file changed

Lines changed: 17 additions & 2 deletions

File tree

.github/workflows/publish-pypi.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,15 +121,30 @@ jobs:
121121
path: dist/
122122

123123
- name: Install wheel
124-
if: matrix.skip_on_pr != true || github.event_name != 'pull_request'
124+
if: (matrix.skip_on_pr != true || github.event_name != 'pull_request') && matrix.arch != 'aarch64'
125125
shell: bash
126126
run: |
127127
# Install from the dist directory, pip will pick the right wheel
128128
# Allow pip to fetch dependencies from PyPI
129129
pip install --find-links=dist/ tsrkit-pvm
130130
131+
- name: Verify aarch64 wheel artifact
132+
if: (matrix.skip_on_pr != true || github.event_name != 'pull_request') && matrix.arch == 'aarch64'
133+
shell: bash
134+
run: |
135+
echo "Verifying aarch64 wheel artifact..."
136+
ls -la dist/
137+
python - <<'PY'
138+
import glob, sys
139+
wheels = glob.glob("dist/*.whl")
140+
if not wheels:
141+
print("No wheel artifacts found in dist/")
142+
sys.exit(1)
143+
print("Found wheels:", wheels)
144+
PY
145+
131146
- name: Test Interpreter Mode (Cython)
132-
if: matrix.skip_on_pr != true || github.event_name != 'pull_request'
147+
if: (matrix.skip_on_pr != true || github.event_name != 'pull_request') && matrix.arch != 'aarch64'
133148
shell: bash
134149
run: |
135150
echo "Testing PVM_MODE=interpreter..."

0 commit comments

Comments
 (0)