-
Notifications
You must be signed in to change notification settings - Fork 12
/
appveyor.yml
76 lines (66 loc) · 1.64 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
75
76
---
branches:
except:
- /dependabot\/.+/
before_build:
- cmd: appveyor-retry nuget restore
- sh: nuget restore
- sh: gem install fpm --no-document
- sh: sudo apt-get update
- sh: sudo apt-get -y install bsdtar
version: "{build}"
clone_depth: 250
build:
parallel: true
project: Radio Downloader.sln
image:
- Visual Studio 2017
- Ubuntu
platform:
- win32
- win64
# - mono
configuration: Package
matrix:
exclude:
- image: Visual Studio 2017
platform: mono
- image: Ubuntu
platform: win32
- image: Ubuntu
platform: win64
for:
- matrix:
only:
- image: Ubuntu
- platform: mono
build_script:
- msbuild "Radio Downloader.sln"
test_script:
- nuget install xunit.runner.console -Version 2.4.1
- xunit.runner.console.2.4.1/tools/net452/xunit.console.exe
"bin/mono/Radio Downloader Test.dll"
- xunit.runner.console.2.4.1/tools/net452/xunit.console.exe
"bin/mono/PodcastProvider Test.dll"
artifacts:
- path: installer/radio-downloader-*.pkg.tar.xz
name: pkg
- path: installer/radio-downloader_*.deb
name: deb
artifacts:
- path: installer/Radio_Downloader-win32.msi
name: msi32
- path: installer/Radio_Downloader-win64.msi
name: msi64
deploy:
tag: $(APPVEYOR_REPO_TAG_NAME)
release: Radio Downloader $(APPVEYOR_REPO_TAG_NAME)
description: 'This release adds the following new features:'
provider: GitHub
auth_token:
secure: VydCTZ+SoZKIP4WRyrWA9WMvQU1XunM/0zO5xyGapuFIlkO7GWSWYBU/IKzNdtUK
artifact: msi32,msi64,pkg,deb
draft: true
force_update: true
on:
APPVEYOR_REPO_TAG: true