From fbe7bf1f815a193b4f0771a52eb11f9507671bae Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Thu, 24 Nov 2022 21:20:51 +0100 Subject: [PATCH] Remove NativeAOT from solution build configuration --- .github/workflows/dotnet.yml | 4 +++- .../ComputeSharp.SwapChain.Cli.csproj | 10 ++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 967121fc..d33abc62 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -142,7 +142,9 @@ jobs: # Also publish the NativeAOT test when .NET 7 is used - if: matrix.framework == 'net7.0' name: Publish ComputeSharp.SwapChain.Cli with NativeAOT - run: dotnet publish samples\ComputeSharp.SwapChain.Cli\ComputeSharp.SwapChain.Cli.csproj -c Release -f net7.0 -r win-x64 -v n + run: > + $env:COMPUTESHARP_SWAPCHAIN_CLI_PUBLISH_AOT='true'; + dotnet publish samples\ComputeSharp.SwapChain.Cli\ComputeSharp.SwapChain.Cli.csproj -c Release -f net7.0 -r win-x64 -v n - if: matrix.framework == 'net7.0' name: Run ComputeSharp.SwapChain.Cli run: > diff --git a/samples/ComputeSharp.SwapChain.Cli/ComputeSharp.SwapChain.Cli.csproj b/samples/ComputeSharp.SwapChain.Cli/ComputeSharp.SwapChain.Cli.csproj index bacfeee1..b12c54b2 100644 --- a/samples/ComputeSharp.SwapChain.Cli/ComputeSharp.SwapChain.Cli.csproj +++ b/samples/ComputeSharp.SwapChain.Cli/ComputeSharp.SwapChain.Cli.csproj @@ -17,8 +17,14 @@ icon.ico - - + + true true true