diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 3638c724..488d14e1 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -341,6 +341,14 @@ jobs: msbuild samples\ComputeSharp.SwapChain.D2D1.Uwp\ComputeSharp.SwapChain.D2D1.Uwp.csproj /restore -t:publish /p:Configuration=Release /p:Platform=${{matrix.platform}} /p:RuntimeIdentifier=win-${{matrix.platform}} + # Publish the D2D1 UWP sample app again with NativeAOT, with Xbox support + - if: matrix.platform == 'x64' + name: Publish ComputeSharp.SwapChain.D2D1.Uwp (Xbox) + run: > + $env:EXPERIMENTAL_XBOX_SUPPORT='true'; + msbuild samples\ComputeSharp.SwapChain.D2D1.Uwp\ComputeSharp.SwapChain.D2D1.Uwp.csproj /restore -t:publish + /p:Configuration=Release /p:Platform=${{matrix.platform}} /p:RuntimeIdentifier=win-${{matrix.platform}} + # Download the NuGet packages generated in the previous job and use them # to build and run the sample project referencing them. This is used as # a test to ensure the NuGet packages work in a consuming project.