Publish Xbox flavor of UWP sample in CI script

このコミットが含まれているのは:
Sergio Pedri committed 2024-09-26 18:14:50 -07:00
1 親 46d4161d31
コミット 23a711e7c6
1ファイル変更
+8
+8
ファイルの表示
@@ -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.