Skip to content

Commit c03fe86

Browse files
committed
Update building
1 parent 95f7e38 commit c03fe86

1 file changed

Lines changed: 52 additions & 52 deletions

File tree

.github/workflows/pypi_publish.yaml

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -41,59 +41,59 @@ jobs:
4141
# name: linux-wheels
4242
# path: ./wheelhouse/*.whl
4343

44-
build_macos_wheels:
45-
name: Build wheels for macOS ${{ matrix.macos_version }} (${{ matrix.arch }})
46-
runs-on: ${{ matrix.runner }}
47-
strategy:
48-
fail-fast: false
49-
matrix:
50-
include:
51-
# macOS 14
52-
- macos_version: "14"
53-
runner: "macos-14"
54-
arch: "arm64"
55-
- macos_version: "14"
56-
runner: "macos-14"
57-
arch: "x86_64"
58-
59-
# macOS 15
60-
- macos_version: "15"
61-
runner: "macos-15"
62-
arch: "arm64"
63-
- macos_version: "15"
64-
runner: "macos-15"
65-
arch: "x86_64"
66-
67-
# - macos_version: "26"
68-
# runner: "macos-26"
69-
# arch: "arm64"
70-
# - macos_version: "26"
71-
# runner: "macos-26"
72-
# arch: "x86_64"
44+
# build_macos_wheels:
45+
# name: Build wheels for macOS ${{ matrix.macos_version }} (${{ matrix.arch }})
46+
# runs-on: ${{ matrix.runner }}
47+
# strategy:
48+
# fail-fast: false
49+
# matrix:
50+
# include:
51+
# # macOS 14
52+
# - macos_version: "14"
53+
# runner: "macos-14"
54+
# arch: "arm64"
55+
# - macos_version: "14"
56+
# runner: "macos-14"
57+
# arch: "x86_64"
58+
59+
# # macOS 15
60+
# - macos_version: "15"
61+
# runner: "macos-15"
62+
# arch: "arm64"
63+
# - macos_version: "15"
64+
# runner: "macos-15"
65+
# arch: "x86_64"
66+
67+
# # - macos_version: "26"
68+
# # runner: "macos-26"
69+
# # arch: "arm64"
70+
# # - macos_version: "26"
71+
# # runner: "macos-26"
72+
# # arch: "x86_64"
7373

74-
steps:
75-
- name: Checkout code
76-
uses: actions/checkout@v4
77-
with:
78-
# Required for cibuildwheel to get a clean version number.
79-
fetch-depth: 0
74+
# steps:
75+
# - name: Checkout code
76+
# uses: actions/checkout@v4
77+
# with:
78+
# # Required for cibuildwheel to get a clean version number.
79+
# fetch-depth: 0
8080

81-
- name: Build wheels
82-
uses: pypa/cibuildwheel@v2.19.2
83-
env:
84-
MACOSX_DEPLOYMENT_TARGET: "${{ matrix.macos_version }}.0"
85-
CIBW_BUILD: "cp310-* cp311-* cp312-* cp313-*"
86-
# CIBW_ARCHS_MACOS: arm64
87-
CIBW_ARCHS_MACOS: "${{ matrix.arch }}"
88-
CIBW_BEFORE_BUILD: >
89-
brew install pybind11 opencv &&
90-
brew reinstall --build-from-source sdl2
81+
# - name: Build wheels
82+
# uses: pypa/cibuildwheel@v2.19.2
83+
# env:
84+
# MACOSX_DEPLOYMENT_TARGET: "${{ matrix.macos_version }}.0"
85+
# CIBW_BUILD: "cp310-* cp311-* cp312-* cp313-*"
86+
# # CIBW_ARCHS_MACOS: arm64
87+
# CIBW_ARCHS_MACOS: "${{ matrix.arch }}"
88+
# CIBW_BEFORE_BUILD: >
89+
# brew install pybind11 opencv &&
90+
# brew reinstall --build-from-source sdl2
9191

92-
- name: Store wheels as artifact
93-
uses: actions/upload-artifact@v4
94-
with:
95-
name: macos-wheels-${{ matrix.runner }}-${{ matrix.arch }}
96-
path: ./wheelhouse/*.whl
92+
# - name: Store wheels as artifact
93+
# uses: actions/upload-artifact@v4
94+
# with:
95+
# name: macos-wheels-${{ matrix.runner }}-${{ matrix.arch }}
96+
# path: ./wheelhouse/*.whl
9797

9898
build_windows_wheels:
9999
name: Build wheels for Windows
@@ -114,7 +114,7 @@ jobs:
114114
- name: Build wheels with cibuildwheel
115115
uses: pypa/cibuildwheel@v2.19.2
116116
env:
117-
CIBW_BUILD: "cp312-*"
117+
CIBW_BUILD: "cp311-*"
118118
CIBW_BEFORE_BUILD_WINDOWS: >
119119
vcpkg install
120120
CIBW_ENVIRONMENT: "CMAKE_TOOLCHAIN_FILE='${{ github.workspace }}\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake'"
@@ -127,7 +127,7 @@ jobs:
127127

128128
publish_to_pypi:
129129
name: Publish wheels to PyPI
130-
needs: [build_windows_wheels, build_macos_wheels]
130+
needs: [build_windows_wheels]
131131
# needs: [build_macos_wheels, build_linux_wheels]
132132
runs-on: ubuntu-latest
133133
# if: github.event_name == 'release' && github.event.action == 'created'

0 commit comments

Comments
 (0)