代码拉取完成,页面将自动刷新
同步操作将从 dongzhou/zed-python-api 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
image: Visual Studio 2015
clone_folder: c:\projects\zed-python
environment:
WORKSPACE: C:\projects
PYTHON35: "C:\\Python35-x64"
PYTHON36: "C:\\Python36-x64"
PYTHON37: "C:\\Python37-x64"
matrix:
- ZED_MAJOR: "2"
ZED_MINOR: "8"
CUDA_MAJOR: "10"
CUDA_MINOR: "0"
ZED_URL_SUFFIX: "win"
CUDA_URL: https://download.stereolabs.com/cuda%CUDA_MAJOR%/win10
#- ZED_MAJOR: "2"
# ZED_MINOR: "8"
# CUDA_MAJOR: "9"
# CUDA_MINOR: "0"
# ZED_URL_SUFFIX: "win_cuda9"
# CUDA_URL: https://developer.nvidia.com/compute/cuda/9.0/Prod/local_installers/cuda_9.0.176_win10-exe
install:
- cd %WORKSPACE%\
# Install ZED SDK
- curl -L https://download.stereolabs.com/zedsdk/%ZED_MAJOR%.%ZED_MINOR%/%ZED_URL_SUFFIX% -o zed_sdk_setup.exe
# Get innoextract
- curl -L http://constexpr.org/innoextract/files/innoextract-1.7-windows.zip -o innoextract_setup.zip
- 7z x innoextract_setup.zip
- .\innoextract.exe zed_sdk_setup.exe
- mkdir "C:\Program Files (x86)\ZED SDK"
- move .\app\bin "C:\Program Files (x86)\ZED SDK\"
- move .\app\include "C:\Program Files (x86)\ZED SDK\"
- move .\app\lib "C:\Program Files (x86)\ZED SDK\"
- set ZED_SDK_ROOT_DIR=C:\Program Files (x86)\ZED SDK
- set SL_ZED_SDK_INSTALL=C:\Program Files (x86)\ZED SDK
- set PATH=%ZED_SDK_ROOT_DIR%\bin;%PATH%
# Install CUDA
- curl -L %CUDA_URL% -o cuda_setup.exe
- .\cuda_setup.exe -s nvcc_%CUDA_MAJOR%.%CUDA_MINOR%
- set CUDA_PATH=%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v%CUDA_MAJOR%.%CUDA_MINOR%
- set CUDA_PATH_V%CUDA_MAJOR%_%CUDA_MINOR%=%CUDA_PATH%
- set CUDA_TOOLKIT_ROOT_DIR=%CUDA_PATH%
- set PATH=%CUDA_PATH%\bin;%PATH%
- cd %WORKSPACE%\zed-python\
# Python dep
- "%PYTHON35%\\python.exe -m pip install --upgrade pip"
- "%PYTHON35%\\python.exe -m pip install -r requirements.txt"
- "%PYTHON36%\\python.exe -m pip install --upgrade pip"
- "%PYTHON36%\\python.exe -m pip install -r requirements.txt"
- "%PYTHON37%\\python.exe -m pip install --upgrade pip"
- "%PYTHON37%\\python.exe -m pip install -r requirements.txt"
build_script:
# All python version in one for faster build
- cd %WORKSPACE%\zed-python\
- "%PYTHON35%\\python.exe setup.py build"
- "%PYTHON35%\\python.exe -m pip wheel ."
- "%PYTHON35%\\python.exe setup.py clean"
- "%PYTHON36%\\python.exe setup.py build"
- "%PYTHON36%\\python.exe -m pip wheel ."
- "%PYTHON36%\\python.exe setup.py clean"
- "%PYTHON37%\\python.exe setup.py build"
- "%PYTHON37%\\python.exe -m pip wheel ."
- "%PYTHON37%\\python.exe setup.py clean"
- ps: "ls"
artifacts:
- path: '*.whl'
#on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
#on_success:
# - TODO: upload the content of dist/*.whl to a public wheelhouse
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。