Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
taylor-a-barnes authored Jan 24, 2025
1 parent d01c859 commit 1411e73
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -326,10 +326,13 @@ jobs:
echo ${{ env.pythonLocation }}
echo $(cygpath -w /c/hostedtoolcache/windows/Python/3.6.8/x64/python)
echo $(cygpath -w $(which python))
echo $(cygpath -w $(which python) | sed 's|\\|/|g')
python_exec=$(cygpath -w $(which python) | sed 's|\\|/|g')
echo ${python_exec}
python_version=$(python -c "import sys; print(str(sys.version_info[0])+'.'+str(sys.version_info[1])+'.'+str(sys.version_info[2]))")
echo ${python_version}
mkdir python_build
cd python_build
cmake -G "MinGW Makefiles" -Dpython_version=$(python -c "import sys; print(str(sys.version_info[0])+'.'+str(sys.version_info[1])+'.'+str(sys.version_info[2]))") -Dpython_package=ON ..
cmake -G "MinGW Makefiles" -Dpython_version=${python_version} -Dpython_package=ON ..
mingw32-make VERBOSE=1
mingw32-make install
cd ..
Expand Down

0 comments on commit 1411e73

Please sign in to comment.