Skip to content

Commit

Permalink
1.3.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
takuya-takeuchi committed Feb 21, 2021
2 parents e91da42 + e8a60ed commit e6666f7
Show file tree
Hide file tree
Showing 107 changed files with 3,844 additions and 1,703 deletions.
139 changes: 139 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
stages:
- build
- package
- test

build:win:
stage: build
before_script:
- chcp 65001
- git submodule update --init --recursive
- "Get-ChildItem env:"
script:
- cd nuget
- git clean -fxd .
- pwsh BuildWindows.ps1
tags:
- windows
- cuda
artifacts:
paths:
- nuget/artifacts

build:cent:
stage: build
before_script:
- git submodule update --init --recursive
- export
script:
- cd nuget
- pwsh BuildCentOS7.ps1
tags:
- linux
- cuda
artifacts:
paths:
- nuget/artifacts

build:ubuntu:
stage: build
before_script:
- git submodule update --init --recursive
- export
script:
- cd nuget
- pwsh BuildUbuntu16.ps1
tags:
- linux
- cuda
artifacts:
paths:
- nuget/artifacts

build:osx:
stage: build
before_script:
- git submodule update --init --recursive
- export
script:
- cd nuget
- pwsh BuildOSX.ps1
tags:
- osx
artifacts:
paths:
- nuget/artifacts

package:
stage: package
before_script:
- chcp 65001
script:
- cd nuget
- pwsh CreateAllPackage.ps1
tags:
- windows
dependencies:
- build:win
- build:ubuntu
- build:cent
- build:osx
artifacts:
paths:
- nuget/*.nupkg

test:win:
stage: test
before_script:
- chcp 65001
script:
- cd nuget
- pwsh TestPackageWindows.ps1
tags:
- windows
dependencies:
- package
artifacts:
paths:
- nuget/artifacts/test

test:cent:
stage: test
script:
- cd nuget
- pwsh TestPackageCentOS7.ps1
tags:
- linux
- cuda
dependencies:
- package
artifacts:
paths:
- nuget/artifacts/test

test:ubuntu:
stage: test
script:
- cd nuget
- pwsh TestPackageUbuntu16.ps1
tags:
- linux
- cuda
dependencies:
- package
artifacts:
paths:
- nuget/artifacts/test

test:osx:
stage: test
script:
- cd nuget
- pwsh TestPackageOSX.ps1
tags:
- osx
dependencies:
- package
artifacts:
paths:
- nuget/artifacts/test
3 changes: 2 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[submodule "src/DlibDotNet"]
path = src/DlibDotNet
url = https://github.com/takuya-takeuchi/DlibDotNet
url = https://github.com/takuya-takeuchi/DlibDotNet
ignore = dirty
4 changes: 2 additions & 2 deletions ExecuteTest.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$CodecovVersion = "1.10.0"
$CodecovVersion = "1.12.4"

# check Codecov Token
$token = $env:CODECOV_TOKEN
Expand All @@ -19,7 +19,7 @@ dotnet add test\FaceRecognitionDotNet.Tests\FaceRecognitionDotNet.Tests.csproj p

Write-Host "Start Test and collect Coverage." -ForegroundColor Green
# https://github.com/tonerdo/coverlet/blob/master/Documentation/MSBuildIntegration.md
dotnet test test\FaceRecognitionDotNet.Tests\FaceRecognitionDotNet.Tests.csproj `
dotnet test test\FaceRecognitionDotNet.Tests\FaceRecognitionDotNet.Tests.csproj -v=normal `
/p:CollectCoverage=true `
/p:CoverletOutputFormat=opencover `
/p:Exclude="[DlibDotNet]*"
Expand Down
Loading

0 comments on commit e6666f7

Please sign in to comment.