代码拉取完成,页面将自动刷新
image: Visual Studio 2017
clone_folder: c:\openpose
build_script:
- mkdir build
- cd build
- cmake -DGPU_MODE=CPU_ONLY -G "Visual Studio 15 2017 Win64" ..
- cmake --build . --config "Release"
after_build:
- ps: cd ..
- ps: mkdir artifacts
- ps: mkdir artifacts/bin
- ps: mkdir artifacts/examples
- ps: mkdir artifacts/examples/media
- ps: mkdir artifacts/include
- ps: mkdir artifacts/lib
- ps: Get-ChildItem -Path build/x64/Release/*.exe -Recurse -File | Copy-Item -Destination artifacts/bin
- ps: Get-ChildItem -Path build/x64/Release/*.dll -Recurse -File | Copy-Item -Destination artifacts/bin
- ps: Get-ChildItem -Path build/bin/*.dll -Recurse -File | Copy-Item -Destination artifacts/bin
- ps: Get-ChildItem -Path examples/media/* -Recurse -File | Copy-Item -Destination artifacts/examples/media
- ps: Copy-Item include/openpose -Recurse -Destination artifacts/include/
- ps: Copy-Item 3rdparty/windows/opencv/include/opencv2 -Recurse -Destination artifacts/include/
- ps: Get-ChildItem -Path build/*.lib -Recurse -File | Copy-Item -Destination artifacts/lib
- ps: Get-ChildItem -Path 3rdparty/*.lib -Recurse -File | Copy-Item -Destination artifacts/lib
- ps: Copy-Item models -Recurse -Destination artifacts/
- ps: cd artifacts
- ps: 7z a ..\openpose.zip .
- ps: cd ..
artifacts:
- path: openpose.zip
name: OpenPose
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。