forked from CMU-Perceptual-Computing-Lab/openpose
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add AppVeyor support (CMU-Perceptual-Computing-Lab#1136)
- Loading branch information
1 parent
3f8d6ec
commit ebd97f4
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
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 |