-
Notifications
You must be signed in to change notification settings - Fork 6
/
appveyor.yml
47 lines (37 loc) · 973 Bytes
/
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
# environment variables
environment:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true # For faster CI builds
DOTNET_ROLL_FORWARD: Major # See https://github.com/GitTools/GitVersion/issues/2906 until 5.8.0 is released
# scripts that are called at very beginning, before repo cloning
init:
- git config --global core.autocrlf true
# scripts that run after cloning repository
install:
- ps: Import-Module .\appveyor.psm1; Invoke-AppveyorInstall
# scripts to run before build
before_build:
- dotnet --info
# to run your custom scripts instead of automatic MSBuild
build_script:
- ps: .\build.ps1 recipe.cake --target=CI
# scripts to run after build
after_build:
# Tests
test: off
# Branches to build
branches:
only:
- develop
- master
- main
- /release/.*/
- /hotfix/.*/
# Build cache
cache:
- .cake -> recipe.cake
# Environment configuration
image:
- Visual Studio 2022
# Skip builds for doc changes
skip_commits:
message: /\(doc\).*/