Skip to content

Commit ec50c9f

Browse files
committed
Update building
1 parent be21ff8 commit ec50c9f

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

.github/workflows/pypi_publish.yaml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,16 +116,23 @@ jobs:
116116
# This path is important. It sets the VCPKG_ROOT env var.
117117
vcpkgDirectory: '${{ github.workspace }}/vcpkg'
118118

119+
# - name: Build wheels with cibuildwheel
120+
# uses: pypa/cibuildwheel@v2.19.2
121+
# env:
122+
# CIBW_BUILD: "cp312-*"
123+
# CIBW_BEFORE_BUILD_WINDOWS: >
124+
# vcpkg install
125+
# # CMAKE_TOOLCHAIN_FILE: D:/a/hcle_py_cpp/hcle_py_cpp/vcpkg/scripts/buildsystems/vcpkg.cmake
126+
# CIBW_ENVIRONMENT: >
127+
# CMAKE_TOOLCHAIN_FILE="${{ env.VCPKG_ROOT }}/scripts/buildsystems/vcpkg.cmake"
119128
- name: Build wheels with cibuildwheel
120129
uses: pypa/cibuildwheel@v2.19.2
121130
env:
122131
CIBW_BUILD: "cp312-*"
123132
CIBW_BEFORE_BUILD_WINDOWS: >
124133
vcpkg install
125-
# CMAKE_TOOLCHAIN_FILE: D:/a/hcle_py_cpp/hcle_py_cpp/vcpkg/scripts/buildsystems/vcpkg.cmake
126134
CIBW_ENVIRONMENT: >
127-
CMAKE_TOOLCHAIN_FILE='${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake'
128-
135+
CMAKE_TOOLCHAIN_FILE="${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake"
129136
130137
- name: Store wheels as artifact
131138
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)