Browse Source
Merge branch 'master' into feature-devtools-dirtyrects
pull/4609/head
danwalmsley
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
8 additions and
2 deletions
-
azure-pipelines.yml
-
native/Avalonia.Native/src/OSX/rendertarget.mm
-
nukebuild/Build.cs
-
nukebuild/BuildParameters.cs
|
|
|
@ -81,7 +81,7 @@ jobs: |
|
|
|
export PATH="$PATH:$HOME/.dotnet/tools" |
|
|
|
dotnet --info |
|
|
|
printenv |
|
|
|
nuke --target CiAzureOSX --configuration Release |
|
|
|
nuke --target CiAzureOSX --configuration Release --skip-previewer |
|
|
|
|
|
|
|
- task: PublishTestResults@2 |
|
|
|
inputs: |
|
|
|
|
|
|
|
@ -110,7 +110,7 @@ |
|
|
|
if(_renderbuffer != 0) |
|
|
|
glDeleteRenderbuffers(1, &_renderbuffer); |
|
|
|
} |
|
|
|
IOSurfaceDecrementUseCount(surface); |
|
|
|
CFRelease(surface); |
|
|
|
} |
|
|
|
@end |
|
|
|
|
|
|
|
|
|
|
|
@ -126,6 +126,7 @@ partial class Build : NukeBuild |
|
|
|
|
|
|
|
Target CompileHtmlPreviewer => _ => _ |
|
|
|
.DependsOn(Clean) |
|
|
|
.OnlyWhenStatic(() => !Parameters.SkipPreviewer) |
|
|
|
.Executes(() => |
|
|
|
{ |
|
|
|
var webappDir = RootDirectory / "src" / "Avalonia.DesignerSupport" / "Remote" / "HtmlTransport" / "webapp"; |
|
|
|
|
|
|
|
@ -19,10 +19,14 @@ public partial class Build |
|
|
|
[Parameter("force-nuget-version")] |
|
|
|
public string ForceNugetVersion { get; set; } |
|
|
|
|
|
|
|
[Parameter("skip-previewer")] |
|
|
|
public bool SkipPreviewer { get; set; } |
|
|
|
|
|
|
|
public class BuildParameters |
|
|
|
{ |
|
|
|
public string Configuration { get; } |
|
|
|
public bool SkipTests { get; } |
|
|
|
public bool SkipPreviewer {get;} |
|
|
|
public string MainRepo { get; } |
|
|
|
public string MasterBranch { get; } |
|
|
|
public string RepositoryName { get; } |
|
|
|
@ -63,6 +67,7 @@ public partial class Build |
|
|
|
// ARGUMENTS
|
|
|
|
Configuration = b.Configuration ?? "Release"; |
|
|
|
SkipTests = b.SkipTests; |
|
|
|
SkipPreviewer = b.SkipPreviewer; |
|
|
|
|
|
|
|
// CONFIGURATION
|
|
|
|
MainRepo = "https://github.com/AvaloniaUI/Avalonia"; |
|
|
|
|