-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
42 lines (38 loc) · 976 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
version: 0.1.{build}
image:
- Visual Studio 2019
- Visual Studio 2017
- Ubuntu1804
configuration: Release
install:
- cmd: |
dotnet restore
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}'
build:
project: LanguagesSharp.sln
verbosity: minimal
after_build:
- cmd: >-
dotnet publish --self-contained false
dotnet pack
- sh: >-
dotnet publish --self-contained false
dotnet pack
artifacts:
- path: '**/*.nupkg'
name: Nuget
- path: '**/publish/*'
name: Binaries
test_script:
- cmd: dotnet test --no-build --no-restore --logger:Appveyor
# - sh: dotnet test --no-build --no-restore --logger:Appveyor
# clone_script:
# - cmd: git clone -q --recursive --branch=%APPVEYOR_REPO_BRANCH% https://github.com/%APPVEYOR_REPO_NAME%.git %APPVEYOR_BUILD_FOLDER%
# - cmd: git checkout -qf %APPVEYOR_REPO_COMMIT%