Browse Source
Merge branch 'master' into feat/drm-init-size
pull/9119/head
Dan Walmsley
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
10 additions and
14 deletions
-
azure-pipelines-integrationtests.yml
-
nukebuild/Build.cs
-
nukebuild/MicroComGen.cs
|
|
@ -57,6 +57,7 @@ jobs: |
|
|
projects: 'samples/IntegrationTestApp/IntegrationTestApp.csproj' |
|
|
projects: 'samples/IntegrationTestApp/IntegrationTestApp.csproj' |
|
|
|
|
|
|
|
|
- task: DotNetCoreCLI@2 |
|
|
- task: DotNetCoreCLI@2 |
|
|
|
|
|
retryCountOnTaskFailure: 3 |
|
|
inputs: |
|
|
inputs: |
|
|
command: 'test' |
|
|
command: 'test' |
|
|
projects: 'tests/Avalonia.IntegrationTests.Appium/Avalonia.IntegrationTests.Appium.csproj' |
|
|
projects: 'tests/Avalonia.IntegrationTests.Appium/Avalonia.IntegrationTests.Appium.csproj' |
|
|
|
|
|
@ -23,6 +23,7 @@ using static Nuke.Common.Tools.MSBuild.MSBuildTasks; |
|
|
using static Nuke.Common.Tools.DotNet.DotNetTasks; |
|
|
using static Nuke.Common.Tools.DotNet.DotNetTasks; |
|
|
using static Nuke.Common.Tools.Xunit.XunitTasks; |
|
|
using static Nuke.Common.Tools.Xunit.XunitTasks; |
|
|
using static Nuke.Common.Tools.VSWhere.VSWhereTasks; |
|
|
using static Nuke.Common.Tools.VSWhere.VSWhereTasks; |
|
|
|
|
|
using MicroCom.CodeGenerator; |
|
|
|
|
|
|
|
|
/* |
|
|
/* |
|
|
Before editing this file, install support plugin for your IDE, |
|
|
Before editing this file, install support plugin for your IDE, |
|
|
@ -278,6 +279,14 @@ partial class Build : NukeBuild |
|
|
.DependsOn(Package) |
|
|
.DependsOn(Package) |
|
|
.DependsOn(ZipFiles); |
|
|
.DependsOn(ZipFiles); |
|
|
|
|
|
|
|
|
|
|
|
Target GenerateCppHeaders => _ => _.Executes(() => |
|
|
|
|
|
{ |
|
|
|
|
|
var file = MicroComCodeGenerator.Parse( |
|
|
|
|
|
File.ReadAllText(RootDirectory / "src" / "Avalonia.Native" / "avn.idl")); |
|
|
|
|
|
File.WriteAllText(RootDirectory / "native" / "Avalonia.Native" / "inc" / "avalonia-native.h", |
|
|
|
|
|
file.GenerateCppHeader()); |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static int Main() => |
|
|
public static int Main() => |
|
|
RuntimeInformation.IsOSPlatform(OSPlatform.Windows) |
|
|
RuntimeInformation.IsOSPlatform(OSPlatform.Windows) |
|
|
|
|
|
@ -1,14 +0,0 @@ |
|
|
using System.IO; |
|
|
|
|
|
using MicroCom.CodeGenerator; |
|
|
|
|
|
using Nuke.Common; |
|
|
|
|
|
|
|
|
|
|
|
partial class Build : NukeBuild |
|
|
|
|
|
{ |
|
|
|
|
|
Target GenerateCppHeaders => _ => _.Executes(() => |
|
|
|
|
|
{ |
|
|
|
|
|
var file = MicroComCodeGenerator.Parse( |
|
|
|
|
|
File.ReadAllText(RootDirectory / "src" / "Avalonia.Native" / "avn.idl")); |
|
|
|
|
|
File.WriteAllText(RootDirectory / "native" / "Avalonia.Native" / "inc" / "avalonia-native.h", |
|
|
|
|
|
file.GenerateCppHeader()); |
|
|
|
|
|
}); |
|
|
|
|
|
} |
|
|
|