-
Notifications
You must be signed in to change notification settings - Fork 29
/
appveyor.yml
56 lines (56 loc) · 1.43 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
version: '{build}'
image:
- Visual Studio 2022
- Ubuntu
branches:
only:
- master
- /\d+\.\d+(\.\d+)?/
except:
- /.+[\-.]wip$/
- wip
pull_requests:
do_not_increment_build_number: true
skip_commits:
files:
- '*.md'
- '*.txt'
- '.editorconfig'
environment:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
install:
- cmd: curl -OsSL https://dot.net/v1/dotnet-install.ps1
- ps: if ($isWindows) { ./dotnet-install.ps1 -JsonFile global.json }
- sh: curl -OsSL https://dot.net/v1/dotnet-install.sh
- sh: chmod +x dotnet-install.sh
- sh: ./dotnet-install.sh --jsonfile global.json
- sh: export PATH="$HOME/.dotnet:$PATH"
before_build:
- dotnet --info
- dotnet tool restore
build_script:
- ps: |-
$id = ([datetimeoffset]$env:APPVEYOR_REPO_COMMIT_TIMESTAMP).ToUniversalTime().ToString('yyyyMMdd''t''HHmm')
if ($isWindows) { .\pack.cmd ci-$id } else { ./pack.sh ci-$id }
dotnet sourcelink test "$(dir dist\*.nupkg)"
test_script:
- cmd: test.cmd
- sh: ./test.sh
artifacts:
- path: dist\*.nupkg
deploy:
- provider: NuGet
server: https://www.myget.org/F/raboof/api/v2/package
api_key:
secure: fhGwXyO35FSshRzs5GWmF1LJTrd1sIqmS/jNCSfO2LfOciuYAKiXuFMYZFGiTAl+
symbol_server: https://www.myget.org/F/raboof/symbols/api/v2/package
on:
branch: master
notifications:
- provider: Email
to:
- raboof-ci@googlegroups.com
on_build_success: true
on_build_failure: true
on_build_status_changed: false