forked from MirrorNetworking/Mirror
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
34 lines (27 loc) · 1.31 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
version: '{branch}-{build}'
before_build:
- nuget restore Unity-Technologies-networking/Networking.sln
build:
project: Unity-Technologies-networking/Networking.sln
verbosity: minimal
artifacts:
- path: Unity-Technologies-networking/Output
name: HLAPI_CE_2017.4_improvements
image: Visual Studio 2017
test_script:
- Unity-Technologies-networking\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -returntargetcode -register:user -target:"nunit3-console.exe" -targetargs:"Unity-Technologies-networking\UnityEngine.Networking.Tests\bin\Debug\UnityEngine.Networking.Tests.dll" -output:"coverage.xml" -filter:"+[UnityEngine.Networking*]* -[UnityEngine.Networking.Tests*]* "
after_test:
- ps: |
$env:PATH = 'C:\msys64\usr\bin;' + $env:PATH
Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh
bash codecov.sh -f "coverage.xml"
deploy:
description: 'HLAPI community edition $(APPVEYOR_REPO_BRANCH) '
provider: GitHub
auth_token:
secure: G42snf8s5fEos7UfoRSW6eW+8rqGGMH3iw1ZCjRUjcUSKupHUfrKJMXQ11wbjRuW # your encrypted token from GitHub
artifact: Unity-Technologies-networking\HLAPI_CE_2017.4_improvements.zip # upload all NuGet packages to release assets
draft: false
prerelease: false
on:
appveyor_repo_tag: true # deploy on tag push only