forked from armutcom/CacheManager.Serialization.Hyperion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.ps1
26 lines (17 loc) · 847 Bytes
/
build.ps1
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
dotnet --info
echo The installed .NET Core SDKs are:
dir $env:ProgramFiles"\dotnet\sdk" | findstr /l "."
dotnet restore ./src/CacheManager.Serialization.Hyperion.sln
dotnet build ./src/Tests/CacheManager.Serialization.Hyperion.Tests/CacheManager.Serialization.Hyperion.Tests.csproj -c Release
echo --------------------
echo Running NET452 Tests
echo --------------------
dotnet test -c Release ./src/Tests/CacheManager.Serialization.Hyperion.Tests -c Release -f net452
echo --------------------
echo Running NETCORE2 Tests
echo --------------------
dotnet test -c Release ./src/Tests/CacheManager.Serialization.Hyperion.Tests -c Release -f netcoreapp2.0
echo --------------------
echo Running NETCORE1 Tests
echo --------------------
dotnet test -c Release ./src/Tests/CacheManager.Serialization.Hyperion.Tests -c Release -f netcoreapp1.1