Publish the native library in CI script

このコミットが含まれているのは:
Sergio Pedri committed 2023-11-21 21:02:18 +01:00
1 親 e5806fd298
コミット c9c17f31f3
1ファイル変更
+4
+4
ファイルの表示
@@ -292,6 +292,10 @@ jobs:
msbuild samples\ComputeSharp.SwapChain.D2D1.Cli\ComputeSharp.SwapChain.D2D1.Cli.csproj /restore -t:publish /p:Configuration=Release
/p:Platform=${{matrix.platform}} /p:RuntimeIdentifier=win-${{matrix.platform}}
# Publish the native library as a NativeAOT shared library
- name: Publish ComputeSharp.NativeLibrary
run: dotnet publish samples\ComputeSharp.NativeLibrary\ComputeSharp.NativeLibrary.csproj -r win-${{matrix.platform}} /p:NativeLib=Shared -v n
# 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.