Commit Graph
4 Commits
Author SHA1 Message Date
Taiizor ceaf074758 Add ARM64 platform support to build and projects (#1941)
* Add ARM64 platform support to build and projects

Added ARM64 as a supported platform in project files and solution configuration. Updated GitHub Actions workflows to build and publish ARM64 libraries. This enables building and distributing ARM64 binaries alongside x64 and x86.

* Add ARM64 support to NuGet packaging

Updated main.nuget.target to include ARM64 DLL and XML files in the NuGet package, enabling multi-platform support for win-arm64 in addition to x64 and x86.

* Fix ARM64 configuration mappings in solution file

Corrects the Debug and Release configuration mappings for ARM64 targets in LibreHardwareMonitor.sln, ensuring ARM64 builds use the proper platform instead of x64.
2025-10-07 11:58:44 +02:00
Teemu Korhonen 33f6ec63eb Fix publishing to Nuget feed. (#1939)
Adjust the glob pattern to select only one .nupkg
file.

In #1928 nuget generation changed so that
there's one main nupkg to publish and platform
library artifacts have their own platform specific
ones.

Changes from before:

* Add x86 to build process.

- Use recommended structure for multi-platform nuget.
- Separate build and pack to allow x64 and x86 builds.
- Use matrix in Github Actions to reduce repetition.

* Properly implement multi-platform nuget build.

- Split build pipeline to setting version, building and packing.
- Build AnyCPU only as reference assemblies.
- Add ref folder to nuget.

* Restructure project and pipeline.

Based on PR review discussion.

- Restore default x64,x86 build process.
  - Build generates platform specific nupkg.
  - Remove AnyCPU platform to prevent confusion.
- Add custom property for building reference libraries.
  - AnyCPU is only set by the property.
- Move nuget changes to separate target file.
  - Imported only when custom property is set.
  - Clear separation from the default build.
- Merge frameworks in published library artifacts.
- Re-simplify pipelines; no matrix or separate jobs.
2025-10-06 19:49:13 +02:00
PhyxionNL 4c487f714e Revert "Multi-platform build process (#1928)" (#1938)
This reverts commit d358e1fc7a.
2025-10-06 18:39:54 +02:00
Teemu Korhonen d358e1fc7a Multi-platform build process (#1928)
* Add x86 to build process.

- Use recommended structure for multi-platform nuget.
- Separate build and pack to allow x64 and x86 builds.
- Use matrix in Github Actions to reduce repetition.

* Properly implement multi-platform nuget build.

- Split build pipeline to setting version, building and packing.
- Build AnyCPU only as reference assemblies.
- Add ref folder to nuget.

* Restructure project and pipeline.

Based on PR review discussion.

- Restore default x64,x86 build process.
  - Build generates platform specific nupkg.
  - Remove AnyCPU platform to prevent confusion.
- Add custom property for building reference libraries.
  - AnyCPU is only set by the property.
- Move nuget changes to separate target file.
  - Imported only when custom property is set.
  - Clear separation from the default build.
- Merge frameworks in published library artifacts.
- Re-simplify pipelines; no matrix or separate jobs.
2025-10-06 18:34:45 +02:00