From 33e7c41ef017dc93f990530bab57ce2a1f8ef6a3 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Thu, 23 Nov 2023 12:43:00 +0100 Subject: [PATCH] Enable publishing Win2D sample on arm64 too --- .github/workflows/dotnet.yml | 9 +++------ .../ComputeSharp.SwapChain.D2D1.Cli.csproj | 5 +++-- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index f124a6d9..7ec74a5b 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -261,10 +261,8 @@ jobs: path: samples\ComputeSharp.SwapChain.Cli\bin\Release\net8.0\win-x64\publish\computesharp.cli.exe if-no-files-found: error - # Also publish the Win2D sample (with R2R). - # Only doing this on x64 (to avoid a Roslyn issue). - - if: matrix.platform == 'x64' - name: Publish ComputeSharp.SwapChain.D2D1.Cli (R2R) + # Also publish the Win2D sample (with R2R) + - name: Publish ComputeSharp.SwapChain.D2D1.Cli (R2R) run: > $env:COMPUTESHARP_SWAPCHAIN_D2D1_PUBLISH_R2R='true'; $env:COMPUTESHARP_SWAPCHAIN_D2D1_PUBLISH_AOT='false'; @@ -284,8 +282,7 @@ jobs: return $process.ExitCode; # Publish the Win2D sample again (with NativeAOT) - - if: matrix.platform == 'x64' - name: Publish ComputeSharp.SwapChain.D2D1.Cli (NativeAOT) + - name: Publish ComputeSharp.SwapChain.D2D1.Cli (NativeAOT) run: > $env:COMPUTESHARP_SWAPCHAIN_D2D1_PUBLISH_R2R='false'; $env:COMPUTESHARP_SWAPCHAIN_D2D1_PUBLISH_AOT='true'; diff --git a/samples/ComputeSharp.SwapChain.D2D1.Cli/ComputeSharp.SwapChain.D2D1.Cli.csproj b/samples/ComputeSharp.SwapChain.D2D1.Cli/ComputeSharp.SwapChain.D2D1.Cli.csproj index 04195799..29e30e8d 100644 --- a/samples/ComputeSharp.SwapChain.D2D1.Cli/ComputeSharp.SwapChain.D2D1.Cli.csproj +++ b/samples/ComputeSharp.SwapChain.D2D1.Cli/ComputeSharp.SwapChain.D2D1.Cli.csproj @@ -46,10 +46,11 @@ + - + - +