Add appveyor configuration
This commit is contained in:
Родитель
174b9dda0d
Коммит
f08b9cef00
|
@ -0,0 +1,21 @@
|
|||
image: Visual Studio 2017
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
|
||||
nuget:
|
||||
disable_publish_on_pr: true
|
||||
|
||||
skip_commits:
|
||||
files:
|
||||
- 'doc/**/*.*'
|
||||
|
||||
init:
|
||||
- ps: git config --global core.autocrlf true
|
||||
|
||||
build_script:
|
||||
- ps: .\build\build.ps1 -script build\build.cake
|
||||
|
||||
artifacts:
|
||||
- path: .\build\*.nupkg
|
|
@ -0,0 +1,21 @@
|
|||
image: Visual Studio 2017
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
|
||||
nuget:
|
||||
disable_publish_on_pr: true
|
||||
|
||||
skip_commits:
|
||||
files:
|
||||
- 'doc/**/*.*'
|
||||
|
||||
init:
|
||||
- ps: git config --global core.autocrlf true
|
||||
|
||||
build_script:
|
||||
- ps: .\build\build.ps1 -Script="build\build.cake"
|
||||
|
||||
artifacts:
|
||||
- path: .\build\*.nupkg
|
|
@ -25,7 +25,7 @@ var signClientVersion = "0.9.0";
|
|||
|
||||
var baseDir = MakeAbsolute(Directory("../")).ToString();
|
||||
var buildDir = baseDir + "/build";
|
||||
var Solution = baseDir + "/../src/Uno.SourceGenerator.sln";
|
||||
var Solution = baseDir + "/src/Uno.SourceGenerator.sln";
|
||||
var toolsDir = buildDir + "/tools";
|
||||
GitVersion versionInfo = null;
|
||||
|
||||
|
@ -95,6 +95,15 @@ Task("Build")
|
|||
MaxCpuCount = 1
|
||||
}
|
||||
.SetConfiguration("Release")
|
||||
.WithTarget("Restore");
|
||||
|
||||
MSBuild(Solution, buildSettings);
|
||||
|
||||
buildSettings = new MSBuildSettings
|
||||
{
|
||||
MaxCpuCount = 1
|
||||
}
|
||||
.SetConfiguration("Release")
|
||||
.WithTarget("Build");
|
||||
|
||||
MSBuild(Solution, buildSettings);
|
||||
|
|
Загрузка…
Ссылка в новой задаче