diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 6a65f2ee..f124a6d9 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -270,11 +270,11 @@ jobs: $env:COMPUTESHARP_SWAPCHAIN_D2D1_PUBLISH_AOT='false'; git clean -fdx; msbuild samples\ComputeSharp.SwapChain.D2D1.Cli\ComputeSharp.SwapChain.D2D1.Cli.csproj /restore -t:publish - /p:Platform=${{matrix.platform}} /p:RuntimeIdentifier=win-${{matrix.platform}} + /p:Configuration=Release /p:Platform=${{matrix.platform}} /p:RuntimeIdentifier=win-${{matrix.platform}} # Just like for the DX12 sample, run it on x64 to validate it works correctly - if: matrix.platform == 'x64' - name: Run ComputeSharp.SwapChain.D2D1.Cli + name: Run ComputeSharp.SwapChain.D2D1.Cli (R2R) run: > $process = (Start-Process samples\ComputeSharp.SwapChain.D2D1.Cli\bin\x64\Release\net8.0-windows10.0.22621\win-x64\publish\computesharp.d2d1.cli.exe -PassThru); sleep -Seconds 2; @@ -291,11 +291,11 @@ jobs: $env:COMPUTESHARP_SWAPCHAIN_D2D1_PUBLISH_AOT='true'; git clean -fdx; msbuild samples\ComputeSharp.SwapChain.D2D1.Cli\ComputeSharp.SwapChain.D2D1.Cli.csproj /restore -t:publish - /p:Platform=${{matrix.platform}} /p:RuntimeIdentifier=win-${{matrix.platform}} + /p:Configuration=Release /p:Platform=${{matrix.platform}} /p:RuntimeIdentifier=win-${{matrix.platform}} # Verify that the Win2D NativeAOT sample also runs correctly - if: matrix.platform == 'x64' - name: Run ComputeSharp.SwapChain.D2D1.Cli + name: Run ComputeSharp.SwapChain.D2D1.Cli (NativeAOT) run: > $process = (Start-Process samples\ComputeSharp.SwapChain.D2D1.Cli\bin\x64\Release\net8.0-windows10.0.22621\win-x64\publish\computesharp.d2d1.cli.exe -PassThru); sleep -Seconds 2;