From a2ccfc5e551f25371628c862bd13362c5c96863c Mon Sep 17 00:00:00 2001 From: Takoooooo Date: Mon, 3 Jan 2022 18:16:31 +0200 Subject: [PATCH 1/5] add test for avalonia.xplat --- tests/build-test.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/build-test.ps1 b/tests/build-test.ps1 index fe23db4c..befce1fe 100644 --- a/tests/build-test.ps1 +++ b/tests/build-test.ps1 @@ -62,4 +62,5 @@ if (Test-Path "output") { Test-Template "avalonia.app" "AvaloniaApp" "C#" Test-Template "avalonia.mvvm" "AvaloniaMvvm" "C#" Test-Template "avalonia.app" "AvaloniaApp" "F#" -Test-Template "avalonia.mvvm" "AvaloniaMvvm" "F#" \ No newline at end of file +Test-Template "avalonia.mvvm" "AvaloniaMvvm" "F#" +Test-Template "avalonia.xplat" "AvaloniaXplat" "C#" \ No newline at end of file From ec9849128d575e771b65ce6cd2ad0f1c3a7db507 Mon Sep 17 00:00:00 2001 From: Takoooooo Date: Mon, 3 Jan 2022 18:21:35 +0200 Subject: [PATCH 2/5] patch ci --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 8b1ba8b5..12435ed0 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -2,10 +2,10 @@ pool: vmImage: 'windows-2019' steps: - task: UseDotNet@2 - displayName: 'Use .NET Core SDK 5.0.x' + displayName: 'Use .NET Core SDK 6.0.x' inputs: packageType: 'sdk' - version: 5.0.x + version: 6.0.x - task: DotNetCoreCLI@2 displayName: 'Pack Templates' inputs: From d05173201db89f291f25d95258e23e6c671336bc Mon Sep 17 00:00:00 2001 From: Takoooooo Date: Mon, 3 Jan 2022 18:21:59 +0200 Subject: [PATCH 3/5] patch --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 12435ed0..2e084d27 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -2,7 +2,7 @@ pool: vmImage: 'windows-2019' steps: - task: UseDotNet@2 - displayName: 'Use .NET Core SDK 6.0.x' + displayName: 'Use .NET SDK 6.0.x' inputs: packageType: 'sdk' version: 6.0.x From 794969d5c0b37c4abae465613061dca526859a98 Mon Sep 17 00:00:00 2001 From: Takoooooo Date: Mon, 3 Jan 2022 18:22:15 +0200 Subject: [PATCH 4/5] patch --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2e084d27..cf815480 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -2,7 +2,7 @@ pool: vmImage: 'windows-2019' steps: - task: UseDotNet@2 - displayName: 'Use .NET SDK 6.0.x' + displayName: 'Use .NET 6.0.x SDK' inputs: packageType: 'sdk' version: 6.0.x From 7398b7637e214e9f7598349b690676d423af9ebe Mon Sep 17 00:00:00 2001 From: Takoooooo Date: Mon, 3 Jan 2022 18:33:27 +0200 Subject: [PATCH 5/5] patch --- azure-pipelines.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index cf815480..04461cce 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -17,6 +17,10 @@ steps: displayName: 'Install templates' inputs: script: 'dotnet new -i $(Build.ArtifactStagingDirectory)/NuGet/*.nupkg' + - task: CmdLine@2 + displayName: 'Install WASM workload' + inputs: + script: 'dotnet workload install wasm-tools' - task: PowerShell@2 displayName: 'Run Tests' inputs: