Skip to content

Commit

Permalink
Merge pull request #73 from AvaloniaUI/add-test-for-avalonia.xplat
Browse files Browse the repository at this point in the history
Add test for avalonia.xplat template
  • Loading branch information
danwalmsley authored Jan 3, 2022
2 parents 964a10a + 7398b76 commit f555c94
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 6 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ pool:
vmImage: 'windows-2019'
steps:
- task: UseDotNet@2
displayName: 'Use .NET Core SDK 5.0.x'
displayName: 'Use .NET 6.0.x SDK'
inputs:
packageType: 'sdk'
version: 5.0.x
version: 6.0.x
- task: DotNetCoreCLI@2
displayName: 'Pack Templates'
inputs:
Expand All @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion tests/build-test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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#"
Test-Template "avalonia.mvvm" "AvaloniaMvvm" "F#"
Test-Template "avalonia.xplat" "AvaloniaXplat" "C#"

0 comments on commit f555c94

Please sign in to comment.