forked from radegastdev/radegast
-
Notifications
You must be signed in to change notification settings - Fork 26
/
.appveyor.yml
83 lines (73 loc) · 2.46 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
77
78
79
80
81
82
83
init:
- ps: if ($env:APPVEYOR_REPO_TAG -eq "true") { $env:TAG_VERSION = "$env:APPVEYOR_REPO_TAG_NAME.$env:APPVEYOR_BUILD_NUMBER" } else { $env:TAG_VERSION = "v3.0.$env:APPVEYOR_BUILD_NUMBER" }
- ps: $env:TAG_VERSION = $env:TAG_VERSION -replace 'v',''
- ps: Write-Host "Setting version to '$env:TAG_VERSION'"
- ps: Update-AppveyorBuild -Version "$env:TAG_VERSION"
environment:
matrix:
- job_name: Windows x64 Build
platform: x64
appveyor_build_worker_image: Visual Studio 2022
configuration: ReleaseWindows
- job_name: Windows x86 Build
platform: x86
appveyor_build_worker_image: Visual Studio 2022
configuration: ReleaseWindows
- job_name: Windows ARM64 Build
platform: ARM64
appveyor_build_worker_image: Visual Studio 2022
configuration: ReleaseWindows
BugsplatDatabase: sjofnllc
PfxDownloadUrl:
secure: T8uKu+tTR2G7LDE1zPGNOi+prl4YaKXP6DOC5eU6A14FEQkd8PFR3nQ1WMwryphJ
PfxDownloadPasswd:
secure: nAIqrjhaoamhiuAcae/xNw==
PfxPassword:
secure: +vWSGzLkiBGVIxfPb+iRtD+/maQjI2d92hN4PoNAxMc=
branches:
except:
- localbuilding
pull_requests:
do_not_increment_build_number: true
build:
project: radegast.sln
parallel: true
verbosity: minimal
cache:
- packages -> **\packages.config
- '%LocalAppData%\NuGet\Cache'
dotnet_csproj:
patch: true
file: '**\*.csproj;**\*.props'
version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
before_build:
- nuget restore radegast.sln
after_build:
- ps: New-Item -ItemType directory -Path .\$env:PLATFORM
- cmd: '7z a -ttar -so Radegast-%TAG_VERSION%.tar %APPVEYOR_BUILD_FOLDER%\bin\Release\ | 7z a -si Radegast_%PLATFORM%-%TAG_VERSION%.tbz'
- ps: Copy-Item bin\Packages\en-US\RadegastSetup_$env:PLATFORM.msi RadegastSetup_$env:PLATFORM-$env:TAG_VERSION.msi
- ps: Copy-Item bin\Packages\RadegastBundle_$env:PLATFORM.exe RadegastSetup_$env:PLATFORM-$env:TAG_VERSION.exe
artifacts:
- path: 'RadegastSetup*.exe'
name: 'Radegast Windows x64 Bundle'
type: Auto
- path: 'RadegastSetup*.msi'
name: 'Radegast Windows x64 MSI'
type: Auto
- path: 'Radegast*.tbz'
name: 'Radegast Linux x64'
type: Auto
- path: 'RadegastSetup*.exe'
name: 'Radegast Windows x86 Bundle'
type: Auto
- path: 'RadegastSetup*.msi'
name: 'Radegast Windows x86 MSI'
type: Auto
- path: 'Radegast-*.tbz'
name: 'Radegast Linux x86'
type: Auto
- path: 'bin\Release\Radegast.pdb'
name: 'Radegast symbols'
type: Auto