Skip to content

Commit 1418841

Browse files
author
Kapil Borle
committed
Test dotnet cli build for appveyor
1 parent 2418639 commit 1418841

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

appveyor.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
os:
2-
- "WMF 5"
32
- "Visual Studio 2015"
4-
- "Windows Server 2012"
53

64
# clone directory
75
clone_folder: c:\projects\psscriptanalyzer
@@ -13,13 +11,11 @@ install:
1311

1412
build_script:
1513
- ps: |
16-
$buildConfig = 'Release'
17-
if ($PSVersionTable.PSVersion -lt [Version]'5.0')
18-
{
19-
$buildConfig = 'PSV3 Release'
20-
}
21-
& 'C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe' 'C:\projects\psscriptanalyzer\PSScriptAnalyzer.sln' /P:Configuration=$buildConfig /logger:'C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll'
14+
Push-Location C:\projects\psscriptanalyzer
15+
dotnet restore
16+
C:\projects\psscriptanalyzer\buildCoreClr.ps1 -Framework net451 -Configuration Release
2217
C:\projects\psscriptanalyzer\build.ps1 -BuildDocs
18+
Pop-Location
2319
2420
# branches to build
2521
branches:

0 commit comments

Comments
 (0)