mirror of
https://gitcode.com/gh_mirrors/ope/OpenFace.git
synced 2025-12-30 04:52:29 +00:00
42 lines
2.0 KiB
YAML
42 lines
2.0 KiB
YAML
version: 1.0.{build}
|
|
branches:
|
|
only:
|
|
- develop
|
|
- master
|
|
- /^feature-.*$/
|
|
max_jobs: 4
|
|
configuration:
|
|
- Release
|
|
platform:
|
|
- x64
|
|
- Win32
|
|
# scripts that run after cloning repository
|
|
install:
|
|
- ps: $source = "https://www.dropbox.com/s/7na5qsjzz8yfoer/cen_patches_0.25_of.dat?dl=1"
|
|
- ps: $destination = "lib/local/LandmarkDetector/model/patch_experts/cen_patches_0.25_of.dat"
|
|
- ps: Invoke-WebRequest $source -OutFile $destination
|
|
- ps: $source = "https://www.dropbox.com/s/k7bj804cyiu474t/cen_patches_0.35_of.dat?dl=1"
|
|
- ps: $destination = "lib/local/LandmarkDetector/model/patch_experts/cen_patches_0.35_of.dat"
|
|
- ps: Invoke-WebRequest $source -OutFile $destination
|
|
- ps: $source = "https://www.dropbox.com/s/ixt4vkbmxgab1iu/cen_patches_0.50_of.dat?dl=1"
|
|
- ps: $destination = "lib/local/LandmarkDetector/model/patch_experts/cen_patches_0.50_of.dat"
|
|
- ps: Invoke-WebRequest $source -OutFile $destination
|
|
- ps: $source = "https://www.dropbox.com/s/2t5t1sdpshzfhpj/cen_patches_1.00_of.dat?dl=1"
|
|
- ps: $destination = "lib/local/LandmarkDetector/model/patch_experts/cen_patches_1.00_of.dat"
|
|
- ps: Invoke-WebRequest $source -OutFile $destination
|
|
|
|
build:
|
|
project: OpenFace.sln
|
|
verbosity: minimal
|
|
test_script:
|
|
# C++
|
|
- cmd: dir
|
|
- cmd: if exist x64 (cd x64)
|
|
- cmd: if exist Debug (cd Debug)
|
|
- cmd: if exist Release (cd Release)
|
|
- cmd: dir
|
|
- cmd: if exist "../samples" (FaceLandmarkImg.exe -inroot ../samples -f sample1.jpg -out_dir out_data -q) else (FaceLandmarkImg.exe -inroot ../../samples -f sample1.jpg -out_dir out_data -q)
|
|
- cmd: if exist "../samples" (FaceLandmarkVidMulti.exe -inroot ../samples -f default.wmv -q) else (FaceLandmarkVidMulti.exe -inroot ../../samples -f default.wmv -q)
|
|
- cmd: if exist "../samples" (FeatureExtraction.exe -f "../samples/default.wmv" -q) else (FeatureExtraction.exe -f "../../samples/default.wmv" -q)
|
|
- cmd: if exist "../samples" (FaceLandmarkVid.exe -f "../samples/default.wmv" -q) else (FaceLandmarkVid.exe -f "../../samples/default.wmv" -q)
|