Skip to content

Commit

Permalink
Publish WinRT sample with NAOT in CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio0694 committed Jun 30, 2024
1 parent 6fed333 commit acdf10a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,12 @@ jobs:
- name: Publish ComputeSharp.NativeLibrary
run: dotnet publish samples\ComputeSharp.NativeLibrary\ComputeSharp.NativeLibrary.csproj -r win-${{matrix.platform}} -v n

# Publish the WinRT component with NativeAOT as well
- name: Publish ComputeSharp.NativeLibrary.WinRT
run: >
msbuild samples\ComputeSharp.NativeLibrary.WinRT\ComputeSharp.NativeLibrary.WinRT.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.
Expand Down

0 comments on commit acdf10a

Please sign in to comment.