Skip to content

Commit

Permalink
add .net6 to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Takoooooo committed Dec 4, 2023
1 parent 4d3a7b3 commit b00d03a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/build-test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ if (Test-Path "output") {

$binlog = [IO.Path]::GetFullPath([IO.Path]::Combine($pwd, "..", "binlog", "test.binlog"))

Create-And-Build "avalonia.app" "AvaloniaApp" "C#" "f" "net6.0" $binlog
Create-And-Build "avalonia.app" "AvaloniaApp" "C#" "f" "net7.0" $binlog
Create-And-Build "avalonia.app" "AvaloniaApp" "C#" "f" "net8.0" $binlog
Create-And-Build "avalonia.app" "AvaloniaApp" "C#" "av" "0.10.21" $binlog
Expand All @@ -102,6 +103,7 @@ Create-And-Build "avalonia.app" "AvaloniaApp" "C#" "cb" "true" $binlog
Create-And-Build "avalonia.app" "AvaloniaApp" "C#" "cb" "false" $binlog

# Build the project only twice with all item templates,once with .net6.0 tfm and once with .net7.0 tfm for C# and F#
Test-Template "avalonia.mvvm" "AvaloniaMvvm" "C#" "f" "net6.0" $binlog
Test-Template "avalonia.mvvm" "AvaloniaMvvm" "C#" "f" "net7.0" $binlog
Test-Template "avalonia.mvvm" "AvaloniaMvvm" "C#" "f" "net8.0" $binlog
Create-And-Build "avalonia.mvvm" "AvaloniaMvvm" "C#" "av" "0.10.21" $binlog
Expand All @@ -119,13 +121,15 @@ Create-And-Build "avalonia.xplat" "AvaloniaXplat" "C#" "cb" "false" $binlog
Create-And-Build "avalonia.xplat" "AvaloniaXplat" "C#" "rvl" "true" $binlog
Create-And-Build "avalonia.xplat" "AvaloniaXplat" "C#" "rvl" "false" $binlog

Create-And-Build "avalonia.app" "AvaloniaApp" "F#" "f" "net6.0" $binlog
Create-And-Build "avalonia.app" "AvaloniaApp" "F#" "f" "net7.0" $binlog
Create-And-Build "avalonia.app" "AvaloniaApp" "F#" "f" "net8.0" $binlog
Create-And-Build "avalonia.app" "AvaloniaApp" "F#" "av" "0.10.21" $binlog
Create-And-Build "avalonia.app" "AvaloniaApp" "F#" "av" "11.0.5" $binlog
Create-And-Build "avalonia.app" "AvaloniaApp" "F#" "cb" "true" $binlog
Create-And-Build "avalonia.app" "AvaloniaApp" "F#" "cb" "false" $binlog

Test-Template "avalonia.mvvm" "AvaloniaMvvm" "F#" "f" "net6.0" $binlog
Test-Template "avalonia.mvvm" "AvaloniaMvvm" "F#" "f" "net7.0" $binlog
Test-Template "avalonia.mvvm" "AvaloniaMvvm" "F#" "f" "net8.0" $binlog
Create-And-Build "avalonia.mvvm" "AvaloniaMvvm" "F#" "av" "0.10.21" $binlog
Expand Down

0 comments on commit b00d03a

Please sign in to comment.