Skip to content

Commit 4d69331

Browse files
authored
Merge pull request #48 from mabel-dev/fix-release-workflow
fix-release-workflow
2 parents a10d366 + b6b1115 commit 4d69331

11 files changed

+50
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Debug macOS cibuildwheel
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
mac_debug:
8+
runs-on: macos-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
12+
- name: Show runner info and environment
13+
run: |
14+
echo "Runner: $(uname -a)"
15+
echo "Python: $(python3 --version)"
16+
clang++ --version || g++ --version
17+
env | sort
18+
19+
- name: Setup Python
20+
uses: actions/setup-python@v5
21+
with:
22+
python-version: '3.11'
23+
24+
- name: Install cibuildwheel and deps
25+
run: |
26+
pip install -U pip setuptools wheel Cython
27+
pip install cibuildwheel==2.16.2
28+
29+
- name: Build wheels (mac only, arm64)
30+
env:
31+
# Force a concrete mac arch for debugging (avoid 'auto')
32+
CIBW_ARCHS_MACOS: "arm64"
33+
CIBW_BUILD: "cp39-* cp310-* cp311-* cp312-* cp313-*"
34+
CIBW_SKIP: "pp* *-manylinux_i686"
35+
CIBW_BEFORE_BUILD: "pip install -U pip setuptools wheel Cython"
36+
CIBW_TEST_COMMAND: "python -c \"import rugo.parquet; print('Import successful')\""
37+
CIBW_TEST_SKIP: "*-*linux_{ppc64le,s390x}"
38+
run: |
39+
echo "CIBW_ARCHS_MACOS=$CIBW_ARCHS_MACOS"
40+
python -m cibuildwheel --output-dir wheelhouse
41+
42+
- name: Upload wheels
43+
uses: actions/upload-artifact@v4
44+
with:
45+
name: debug-wheels-macos
46+
path: wheelhouse/*.whl
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
Β (0)