-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
appveyor.yml
72 lines (57 loc) · 2.28 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
# AppVeyor CI build file, https://ci.appveyor.com/project/odinserj/hangfire
# Notes:
# - Minimal appveyor.yml file is an empty file. All sections are optional.
# - Indent each level of configuration with 2 spaces. Do not use tabs!
# - All section names are case-sensitive.
# - Section names should be unique on each level.
# Please don't edit it manually, use the `build.bat version` command instead.
version: 1.8.16-build-0{build}
image:
- Visual Studio 2022
- Ubuntu2004
#---------------------------------#
# environment configuration #
#---------------------------------#
# environment variables
environment:
Hangfire_SqlServer_ConnectionStringTemplate: Server=.\SQL2017;Database={0};User Id=sa;Password=Password12!;TrustServerCertificate=True;PoolBlockingPeriod=NeverBlock
SIGNPATH_API_TOKEN:
secure: nvG+jv/K3utFvpHGx/N6Glpv0Wdj0wfBSl8c/tkHbn2AIwGcNe2e4VSOkod7xVpC
COVERITY_TOKEN:
secure: r3yBqxgALySnCK9W6uiStqoadsqYtrWQolzxGDVKF74=
COVERITY_EMAIL:
secure: wf51HXCiUYxuTe+eo3uQOxqyptSLrH4IEqq0958Rmx8=
# enable service required for tests
services:
- mssql2017
#---------------------------------#
# build configuration #
#---------------------------------#
# Installing MSMQ manually to avoid "Cannot initialize 'msmq' service handler" error
before_build:
- cmd: powershell Import-Module ServerManager; Add-WindowsFeature MSMQ; net start msmq
- pwsh: Install-PSResource -Name SignPath -TrustRepository
- sh: nuget locals all -clear
build_script:
- pwsh: IF ($IsWindows -and ($env:APPVEYOR_SCHEDULED_BUILD -or $env:APPVEYOR_REPO_COMMIT_MESSAGE -like "*covscan*")) { .\coverity-scan.ps1 }
- cmd: IF NOT DEFINED APPVEYOR_SCHEDULED_BUILD build.bat sign
- sh: chmod +x build.sh; ./build.sh
#---------------------------------#
# tests configuration #
#---------------------------------#
test: off
#---------------------------------#
# artifacts configuration #
#---------------------------------#
artifacts:
- path: 'build\**\*.nupkg'
- path: 'build\**\*.zip'
#---------------------------------#
# deployment configuration #
#---------------------------------#
deploy:
- provider: NuGet
api_key:
secure: KGuXrQTSOoHY00BOLI9NcvRf/HaajVj6nN4/ac0Qqk1z58zwiRXzdtJE7k+1psp/
on:
appveyor_repo_tag: true