forked from sklose/NCalc2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
33 lines (33 loc) · 873 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
version: '3.1.{build}'
image: Visual Studio 2022
configuration: Release
branches:
only:
- master
skip_commits:
files:
- README.md
environment:
matrix:
- JAVA_HOME: C:\Program Files\Java\jdk21
init:
- cmd: git config --global core.autocrlf true
- cmd: set PATH=%JAVA_HOME%\bin;%PATH%
before_build:
- cmd: pip install antlr4-tools
- cmd: dotnet --version
- cmd: dotnet restore --verbosity m
build_script:
- cmd: dotnet pack /p:PackageVersion=%APPVEYOR_BUILD_VERSION% ./src/NCalc/NCalc.csproj
clone_depth: 1
test_script:
- cmd: dotnet restore --verbosity m
- cmd: dotnet test ./test/NCalc.Tests/NCalc.Tests.csproj
artifacts:
- path: '**\*.nupkg'
deploy:
provider: NuGet
api_key:
secure: CeuakdyllU84OlWOGG5+UD8+zLMGM14T+YsaV2BcQ/iChOZBfhokeHO+6ViNwvae
skip_symbols: true
artifact: /.*\.nupkg/