forked from Cinegy/Cinecoder.Samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
23 lines (20 loc) · 825 Bytes
/
appveyor.yml
File metadata and controls
23 lines (20 loc) · 825 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
version: 0.0.{build}
pull_requests:
do_not_increment_build_number: true
configuration: Release
platform: x64
before_build:
- cmd: nuget restore
build:
project: Cinecoder.Samples.sln
verbosity: minimal
test_script:
- cmd: nunit3-console Daniel2.Managed.Tests\bin\Release\x64\Daniel2.Managed.Tests.dll --result=myresults.xml;format=AppVeyor
- ps: >-
x64\Release\Daniel2.Native.Tests.exe --gtest_output=xml:tests.xml
$wc = New-Object 'System.Net.WebClient'
$wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path tests.xml))
after_build:
- cmd: >-
7z a CinecoderSamples-%APPVEYOR_REPO_BRANCH%-%APPVEYOR_BUILD_VERSION%.zip %APPVEYOR_BUILD_FOLDER%\x64\Release
appveyor PushArtifact CinecoderSamples-%APPVEYOR_REPO_BRANCH%-%APPVEYOR_BUILD_VERSION%.zip