We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8097b91 commit 38e28daCopy full SHA for 38e28da
1 file changed
.github/workflows/build.yml
@@ -19,8 +19,9 @@ jobs:
19
- run: cmake --build cpp_build --config Release
20
- run: cpp_build\Release\ExternalLibraryTest.exe
21
- run: |
22
- $python_home = "${{ env.Python_ROOT_DIR }}" -replace "\\", "/"
23
- cmake . -G "Visual Studio 17 2022" -Bpython_build -DEXTERNAL_LANGUAGE=Python -DPYTHON_HOME="$python_home"
+ $python_exe = where python
+ $python_exe = $python_exe -replace "\\", "/"
24
+ cmake . -G "Visual Studio 17 2022" -B python_build -D EXTERNAL_LANGUAGE=Python -D PYTHON_EXE="$python_exe"
25
- run: cmake --build python_build --config Release
26
- run: python -m pip install -e Python
27
- run: python_build\Release\ExternalLibraryTest.exe
0 commit comments