Skip to content

Commit 625e69c

Browse files
committed
Fixes python arch for x86_64
1 parent 2b69828 commit 625e69c

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

.github/workflows/build_macos_wheel.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: macos-latest
1414
strategy:
1515
matrix:
16-
arch: [arm64, x64]
16+
arch: [arm64, x86_64]
1717

1818
steps:
1919
- name: Checkout repository
@@ -31,7 +31,7 @@ jobs:
3131
uses: actions/setup-python@v4
3232
with:
3333
python-version: "3.13"
34-
architecture: ${{ matrix.arch }}
34+
architecture: ${{ matrix.arch == 'x86_64' && 'x64' || matrix.arch }}
3535

3636
- name: Install Python dependencies
3737
run: |
@@ -52,11 +52,7 @@ jobs:
5252
fi
5353
- name: Build wheels (${{ matrix.arch }})
5454
run: |
55-
if [ "${{ matrix.arch }}" = "x64" ]; then
56-
arch -x86_64 cibuildwheel --output-dir wheelhouse
57-
else
58-
cibuildwheel --output-dir wheelhouse
59-
fi
55+
cibuildwheel --output-dir wheelhouse
6056
env:
6157
CIBW_BUILD: "cp39-* cp310-* cp311-* cp312-* cp313-*"
6258
CIBW_SKIP: "pp* *musllinux* *win32"

0 commit comments

Comments
 (0)