Skip to content

Commit 53dc443

Browse files
committed
Update building
1 parent b5708b6 commit 53dc443

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/pypi_publish.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ jobs:
112112

113113
- name: Setup vcpkg
114114
uses: lukka/run-vcpkg@v11
115+
id: vcpkg
115116
with:
116117
# This path is important. It sets the VCPKG_ROOT env var.
117118
vcpkgDirectory: '${{ github.workspace }}/vcpkg'
@@ -132,7 +133,9 @@ jobs:
132133
CIBW_BEFORE_BUILD_WINDOWS: >
133134
vcpkg install
134135
CIBW_ENVIRONMENT: >
135-
CMAKE_TOOLCHAIN_FILE="${{ github.workspace }}\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake"
136+
CMAKE_ARGS="-DCMAKE_TOOLCHAIN_FILE=${{ steps.vcpkg.outputs.vcpkg-cmake-path }}"
137+
# CIBW_ENVIRONMENT: >
138+
# CMAKE_TOOLCHAIN_FILE="${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake"
136139

137140
- name: Store wheels as artifact
138141
uses: actions/upload-artifact@v4

vcpkg.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"name": "hcle-py",
33
"version-string": "0.1.8",
4-
"dependencies": []
4+
"dependencies": [
5+
"sdl2",
6+
"opencv4",
7+
"zlib",
8+
"pybind11"
9+
]
510
}

0 commit comments

Comments
 (0)