Commit 94341a4b authored by Matt Clarkson's avatar Matt Clarkson

Issue #1: Fix installing python wheel on windows.

parent 44a24ab7
Pipeline #4085 canceled with stages
in 13 minutes and 58 seconds
......@@ -160,9 +160,17 @@ windows test:
- continuousenv/Scripts/activate
- cd ${Env:pb_dir}
- ctest -S CTestContinuous.cmake -V
- if ($LastExitCode -ne 0) {throw $LastExitCode}
- cd ${Env:src_dir}
- if ($LastExitCode -ne 0) {throw $LastExitCode}
- python setup.py bdist_wheel
- pip install dist/*
- if ($LastExitCode -ne 0) {throw $LastExitCode}
- dir dist
- $wheel_files = @(Get-ChildItem dist\* -include *.whl)
- $wheel = $wheel_files[0]
- echo "Wheel file is $wheel"
- pip install --upgrade --no-index --find-links dist $wheel
- if ($LastExitCode -ne 0) {throw $LastExitCode}
- python -c "import sksurgerygpupython as sk; sk.print_cuda_device_info()"
- python -c "import sksurgerygpupython as sk; import numpy as np; a = 2 * np.ones((4,4)); b = 3 * np.ones( (4,4)); c = sk.multiply_two_arrays(a,b); print(c)"
- python -m pytest -v -s ./Testing/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment