diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 5b5b67c1..967121fc 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -121,6 +121,8 @@ jobs: matrix: framework: [net7.0, net6.0, netcoreapp3.1, net472] runs-on: windows-2022 + env: + CI_RUNNER_SAMPLES_INTEGRATION_TESTS: true steps: - name: Git checkout uses: actions/checkout@v3 diff --git a/samples/ComputeSharp.SwapChain.Cli/ComputeSharp.SwapChain.Cli.csproj b/samples/ComputeSharp.SwapChain.Cli/ComputeSharp.SwapChain.Cli.csproj index 15c44aed..bacfeee1 100644 --- a/samples/ComputeSharp.SwapChain.Cli/ComputeSharp.SwapChain.Cli.csproj +++ b/samples/ComputeSharp.SwapChain.Cli/ComputeSharp.SwapChain.Cli.csproj @@ -1,7 +1,14 @@ - Exe + + + Exe + WinExe net7.0 x64;ARM64 $(DefineConstants);SAMPLE_APP diff --git a/samples/ComputeSharp.SwapChain/Backend/SwapChainApplication{T}.cs b/samples/ComputeSharp.SwapChain/Backend/SwapChainApplication{T}.cs index 9affa55c..41713dbe 100644 --- a/samples/ComputeSharp.SwapChain/Backend/SwapChainApplication{T}.cs +++ b/samples/ComputeSharp.SwapChain/Backend/SwapChainApplication{T}.cs @@ -287,6 +287,7 @@ internal sealed class SwapChainApplication : Win32Application // Execute the command list to perform the copy this.d3D12CommandQueue.Get()->ExecuteCommandLists(1, (ID3D12CommandList**)this.d3D12GraphicsCommandList.GetAddressOf()); + _ = this.d3D12CommandQueue.Get()->Signal(this.d3D12Fence.Get(), this.nextD3D12FenceValue); // Present the new frame