Adds per-platform release artifacts and release image validation

This commit is contained in:
BinaryAlley committed 2026-11-30 21:20:42 +02:00
1 parent 92ab62011e
commit 68143dff25
19 files changed
+603 -115

No files matched your search

+1 -2
View File
@@ -1,11 +1,10 @@
<Project>
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)..'))" />
<Import Project="$(MSBuildThisFileDirectory)../build/RuntimeIdentifiers.props" />
<!-- Shared warning and documentation policy for every plugin project under plugins. -->
<PropertyGroup>
<BaseOutputPath>$(RepoRoot)bin/plugins/</BaseOutputPath>
<!-- The real runtime identifiers the release artifact supports. Every bundled plugin with native dependencies must provide its libraries for each of them. The OS family fallback folders, such as osx, are kept automatically. -->
<BundledPluginRuntimeIdentifiers>win-x64;win-arm64;linux-x64;linux-arm64;linux-musl-x64;osx-x64;osx-arm64</BundledPluginRuntimeIdentifiers>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<WarningsAsErrors>$(WarningsAsErrors);CS1591</WarningsAsErrors><!--Public members must have XML documentation.-->
@@ -11,10 +11,11 @@
<Compile Include="..\..\src\AssemblyInfo_Shared.cs" Link="Properties\AssemblyInfo_Shared.cs" />
</ItemGroup>
<!-- The supported runtimes come from the shared bundled plugin property. Each runtime also uses an OS family fallback folder, where the native dependency packages keep the libraries shared by every architecture of that operating system. -->
<!-- The supported runtimes come from the shared bundled plugin runtime list. Each runtime also uses an OS family fallback folder, where the native dependency packages keep the libraries shared by every architecture of that operating system. -->
<Target Name="DefinePdfRuntimeLibraries">
<Error Condition="'@(BundledPluginRuntime)' == ''" Text="The bundled plugin runtime list is empty. Restore the BundledPluginRuntime items in build/RuntimeIdentifiers.props." />
<ItemGroup>
<_SupportedPdfRuntime Include="$(BundledPluginRuntimeIdentifiers)" />
<_SupportedPdfRuntime Include="@(BundledPluginRuntime)" />
<_WindowsPdfRuntime Include="@(_SupportedPdfRuntime)" Condition="$([System.String]::Copy('%(Identity)').StartsWith('win-'))">
<PdfFamily>win</PdfFamily>
</_WindowsPdfRuntime>