Commit 15ef5c51 authored by Matt Clarkson's avatar Matt Clarkson

Issue #1: Fix python on windows.

parent 9ae7757e
Pipeline #4073 failed with stages
in 25 minutes and 53 seconds
......@@ -51,7 +51,7 @@ linux build:
- pwd
- python3 -m venv continuousenv
- source continuousenv/bin/activate
- pip install numpy wheel six
- pip install numpy wheel six opencv-contrib-python pytest
- cmake -DCMAKE_BUILD_TYPE:STRING=Release
-DSKSURGERYGPUCPP_USE_CUDA:BOOL=ON
-DSKSURGERYGPUCPP_CUDA_ARCH_BIN:STRING=61
......@@ -76,7 +76,6 @@ linux test:
- cd ${pb_dir}
- ctest -S CTestContinuous.cmake -V
- cd ${src_dir}
- pip install pytest numpy opencv-contrib-python
- python setup.py bdist_wheel
- pip install dist/*
- python -c "import sksurgerygpupython as sk; sk.print_cuda_device_info()"
......@@ -127,9 +126,9 @@ windows build:
- if (Test-Path ${Env:sb_dir}) { Remove-Item ${Env:sb_dir} -Recurse; }
- mkdir ${Env:sb_dir}
- cd ${Env:sb_dir}
- python3 -m venv continuousenv
- python.exe -m venv continuousenv
- continuousenv/Scripts/activate
- pip install numpy wheel six
- pip install numpy wheel six opencv-contrib-python pytest
- cmake -G "Visual Studio 15 2017 Win64"
-DCMAKE_BUILD_TYPE:STRING=Release
-DSKSURGERYGPUCPP_USE_CUDA:BOOL=OFF
......@@ -161,7 +160,6 @@ windows test:
- cd ${Env:pb_dir}
- ctest -S CTestContinuous.cmake -V
- cd ${Env:src_dir}
- pip install pytest numpy opencv-contrib-python
- python setup.py bdist_wheel
- pip install dist/*
- python -c "import sksurgerygpupython as sk; sk.print_cuda_device_info()"
......
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