Skip to content

Commit d9c7891

Browse files
committed
Update building
1 parent 1621ebd commit d9c7891

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/pypi_publish.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ on:
44
release:
55
types: [created]
66
push:
7-
branches: [ "main" ]
7+
branches: ["main"]
88
pull_request:
9-
branches: [ "main" ]
9+
branches: ["main"]
1010
workflow_dispatch:
1111

1212
jobs:
@@ -86,15 +86,15 @@ jobs:
8686
# CIBW_ARCHS_MACOS: arm64
8787
CIBW_ARCHS_MACOS: "${{ matrix.arch }}"
8888
CIBW_BEFORE_BUILD: >
89-
brew install pybind11 opencv &&
90-
brew reinstall --build-from-source sdl2
89+
brew install pybind11 opencv &&
90+
brew reinstall --build-from-source sdl2
9191
9292
- name: Store wheels as artifact
9393
uses: actions/upload-artifact@v4
9494
with:
9595
name: macos-wheels-${{ matrix.runner }}-${{ matrix.arch }}
9696
path: ./wheelhouse/*.whl
97-
97+
9898
build_windows_wheels:
9999
name: Build wheels for Windows
100100
runs-on: windows-latest
@@ -103,18 +103,18 @@ jobs:
103103
- name: Checkout code
104104
uses: actions/checkout@v4
105105
with:
106-
submodules: 'recursive'
106+
submodules: "recursive"
107107

108108
- name: Setup vcpkg
109109
uses: lukka/run-vcpkg@v11
110110
id: vcpkg
111111
with:
112-
vcpkgDirectory: '${{ github.workspace }}/vcpkg'
112+
vcpkgDirectory: "${{ github.workspace }}/vcpkg"
113113

114114
- name: Build wheels with cibuildwheel
115115
uses: pypa/cibuildwheel@v2.19.2
116116
env:
117-
CIBW_BUILD: "cp310-* cp311-* cp312-* cp313-*"
117+
CIBW_BUILD: "cp310-* cp311-* cp312-*"
118118
CIBW_BEFORE_BUILD_WINDOWS: >
119119
vcpkg install
120120
CIBW_ENVIRONMENT: "CMAKE_TOOLCHAIN_FILE='${{ github.workspace }}\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake'"

0 commit comments

Comments
 (0)