File tree 2 files changed +17
-1
lines changed
2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,17 @@ task DotnetTest DotnetBuild, {
49
49
}
50
50
}
51
51
52
+ task AotTest {
53
+ Push-Location " .\test\TinyIpc.Tests"
54
+ dotnet publish / p:" AotTest=true" -- framework " net9.0-windows"
55
+ Pop-Location
56
+
57
+ Push-Location " .\artifacts\publish\TinyIpc.Tests\release_net9.0-windows_win-x64\"
58
+ exec {
59
+ .\TinyIpc.Tests.exe -- disable-logo
60
+ }
61
+ }
62
+
52
63
task DotnetPack AssertVersion, {
53
64
exec {
54
65
dotnet pack " .\src\TinyIpc\TinyIpc.csproj" `
Original file line number Diff line number Diff line change 2
2
3
3
<PropertyGroup >
4
4
<OutputType >Exe</OutputType >
5
- <TargetFrameworks >net481;net8 .0-windows;net9 .0-windows</TargetFrameworks >
5
+ <TargetFrameworks >net9 .0-windows;net8 .0-windows;net481 </TargetFrameworks >
6
6
<RuntimeIdentifier >win-x64</RuntimeIdentifier >
7
7
</PropertyGroup >
8
8
9
+ <PropertyGroup Condition =" '$(AotTest)' == 'true' " >
10
+ <TargetFrameworks >net9.0-windows</TargetFrameworks >
11
+ <PublishAot >true</PublishAot >
12
+ </PropertyGroup >
13
+
9
14
<ItemGroup >
10
15
<ProjectReference Include =" ..\..\src\TinyIpc\TinyIpc.csproj" />
11
16
</ItemGroup >
You can’t perform that action at this time.
0 commit comments