Commit Graph
17 Commits
Author SHA1 Message Date
Teemu Korhonen 06dba04104 Fix mistake on previous workflow edits (#1950)
* Fix restore command on workflows.

- Correct path when restoring application packages.
- Add --no-restore for application build.

* Add RuntimeIdentifiers.

So restore knows what packages to pick.
2025-10-09 13:05:55 +02:00
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
PhyxionNLandCopilot ee60348eac Use CsWin32 (#1912)
* Use CsWin32

* Update LibreHardwareMonitorLib/Hardware/Cpu/CpuLoad.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update LibreHardwareMonitorLib/Hardware/Battery/BatteryGroup.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update pull requests.yml

* Update pull requests.yml

* Update master.yml

* A couple more to CsWin32

* Restore PawnIO defaults

Fixes #1910

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-29 18:48:00 +02:00
PhyxionNL b12cfba9ba Update artifact publishing for net80 and net90 2025-09-17 16:25:30 +02:00
PhyxionNL 296516ea01 Update pull requests.yml 2024-11-24 11:55:54 +01:00
Vinfall e2c861bdf0 Bump action versions (#1279) 2024-03-01 22:49:39 +01:00
Pomian 0e09f00e5a Add support for .NET 7 (#878) 2022-11-27 14:15:00 +01:00
PhyxionNL 93fa695429 Revert "Drop .NET Standard (#839)"
This reverts commit ecc6b6a6a7.
2022-11-04 14:12:26 +01:00
PhyxionNL ecc6b6a6a7 Drop .NET Standard (#839) 2022-10-09 11:54:14 +02:00
PhyxionNL d7a5e5b603 Drop .NET 5.0 (out of support) 2022-06-29 19:43:17 +02:00
Pomian 54f826caf3 Skip checking the conditions, because Actions support these skipping by default [skip ci] (#699) 2022-03-18 14:42:09 +01:00
PhyxionNL 1a32abd0f5 Update pull requests.yml 2022-02-24 13:24:55 +01:00
Pomian 5d8c25a304 Add support for .NET 6 (#600)
Thanks to @Pomianowski.
2021-11-19 11:20:12 +01:00
PhyxionNL 742c71c629 [ci skip] 2021-06-18 16:45:18 +02:00