From 23a711e7c6d94d958e3b2d3f6581496413152042 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Thu, 19 Sep 2024 12:16:32 +0200 Subject: [PATCH] Publish Xbox flavor of UWP sample in CI script --- .github/workflows/dotnet.yml | 8 ++++++++ 1 file changed, 8 insertions(+) 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.