Skip to content

Commit

Permalink
Publish AoT for test on macOS (#1800)
Browse files Browse the repository at this point in the history
- Publish AoT on macOS.
- Target net8.0 for AoT test.
  • Loading branch information
martincostello committed Jan 4, 2024
1 parent d501d2b commit 468506c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/Polly.AotTest/Polly.AotTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
<PropertyGroup>
<Nullable>enable</Nullable>
<OutputType>Exe</OutputType>
<PublishAot>true</PublishAot>
<SKIP_POLLY_ANALYZERS>true</SKIP_POLLY_ANALYZERS>
<SelfContained>true</SelfContained>
<TargetFramework>net7.0</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition="!$([System.OperatingSystem]::IsMacOS())">
<PublishAot>true</PublishAot>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Polly.Core\Polly.Core.csproj" />
Expand Down

0 comments on commit 468506c

Please sign in to comment.