-
Notifications
You must be signed in to change notification settings - Fork 5
/
appveyor.yml
74 lines (60 loc) · 1.76 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
branches:
except: [translate]
image:
- Visual Studio 2022
- Ubuntu2004
environment:
IGNORE_NORMALISATION_GIT_HEAD_MOVE: '1'
DOTNET_NOLOGO: '1'
for:
- matrix:
only:
- image: Visual Studio 2022
cache:
- '%USERPROFILE%\.nuget\packages -> **\*.csproj,**\*.targets,**\*.props'
before_build:
- gitversion /verbosity quiet /output buildserver
build_script:
- powershell .\build.ps1 %GitVersion_NuGetVersion% -SkipTest
test_script:
- powershell src\test.ps1
artifacts:
# nuget.org
- path: artifacts\Release\*.*nupkg
# SignPath
- path: artifacts
# docs.0install.net
- path: artifacts\Documentation
name: docs
# apps.0install.net
- path: 0install-dotnet-*.tar.gz
name: bin
- path: 0install-dotnet-*.xml
name: feed
deploy:
- provider: Environment
name: GitHub Releases
on:
appveyor_repo_tag: true
- provider: Environment
name: NuGet
on:
appveyor_repo_tag: true
- provider: Webhook
url: https://app.signpath.io/API/v1/0e70cf92-49a1-4427-a800-b6bc5b497936/Integrations/AppVeyor?ProjectSlug=dotnet&SigningPolicySlug=release-signing
authorization:
secure: 1lrrvByUN3qR7P/QQN6XXy4LWmh8ls/veOESoeVffvyF4kOqo28JxoZtIxYOZZpAZKlbAv8tWQaLFZiUxXFHmA==
on:
appveyor_repo_tag: true
- matrix:
only:
- image: Ubuntu2004
cache:
- '$HOME/.nuget/packages -> **/*.csproj,**/*.targets,**/*.props'
before_build:
- gitversion /verbosity quiet /output buildserver
build_script:
#- ./build.sh $GitVersion_NuGetVersion --skip-test
- src/build.sh $GitVersion_NuGetVersion
test_script:
- src/test.sh