forked from AElfProject/AElf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
28 lines (27 loc) · 1.09 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
version: 1.0.0.{build}
skip_tags: true
os: Windows Server 2012 R2
image: Visual Studio 2017
build:
publish_nuget: true
verbosity: minimal
configuration:
- Debug
platform:
- Any CPU
install:
- choco install vcredist2017
- ps: dotnet --info
- ps: node --version
- ps: (new-object net.webclient).DownloadFile('https://github.com/protocolbuffers/protobuf/releases/download/v3.7.0/protoc-3.7.0-win64.zip', 'c:\protoc-3.7.0-win64.zip')
- cmd: unzip c:\protoc-3.7.0-win64.zip -d c:\protoc\
- cmd: set PATH=%PATH%;c:\protoc\bin\
- ps: (new-object net.webclient).DownloadFile('https://github.com/AElfProject/contract-plugin/releases/download/v1.0.2/contract_csharp_plugin-v1.0.2-win32.zip', 'c:\projects\aelf\scripts\contract_csharp_plugin-v1.0.2-win32.zip')
- cmd: unzip -o c:\projects\aelf\scripts\contract_csharp_plugin-v1.0.2-win32.zip -d c:\projects\aelf\scripts\
- cmd: dir c:\projects\aelf\scripts\
build_script:
- ps: dotnet build AElf.Console.sln
- ps: dotnet build AElf.sln
- ps: dotnet test AElf.sln
- ps: dotnet build AElf.Management.sln
- ps: dotnet test AElf.Management.sln