56 Commits
Author SHA1 Message Date
JMR-dev 8cfee3f1ba fix release workflow GHA commit SHA 2026-06-12 12:04:14 -05:00
JMR-dev 0bbf198668 fix text warns and explicitly target windows-2025-vs2026 for runners 2026-06-12 11:48:08 -05:00
JMR-dev 1f56cc7ce5 refactor status checks workflow 2026-06-12 11:28:35 -05:00
JMR-dev 85fb2af2cd Rename and refactor release workflow 2026-06-12 11:21:31 -05:00
JMR-dev 509a89e139 workflow updates 2026-06-11 07:04:05 -05:00
JMR-dev 984988b2b5 workflow updates and docs add 2026-06-11 06:54:22 -05:00
JMR-dev e23feff44d dropped support for WinForms and .NET 4.7.2. Refactored to modern .NET and C# 2026-06-10 22:41:05 -05:00
Blacktempel 469aa97c77 Fix nuget publish for forks. (#2386) 2026-05-20 15:52:14 +02:00
Blacktempel e1f284cbb6 Prepare for Avalonia app - rename LHM UI project (#2360)
* Prepare for Avalonia app - rename LHM UI project.

* Rename

* Fix icons not being displayed.

* Rename workflow project
2026-05-15 10:29:57 +02:00
Blacktempel 902f53b32e Update workflow versions. (#2306)
* Update workflow versions.

* Update workflow versions to hash.
2026-04-26 19:22:10 +02:00
PhyxionNL aaf65f5e0f Add .NET 10 build
Also drops WMI provider as this is no longer working with .NET 10.
2025-12-20 14:33:56 +01:00
CopilotPhyxionNLcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
9463c45277 Add .NET 10 target framework and update System.* packages to 10.0.0 (#2035)
* Initial plan

* Add .NET 10 support and update System.* packages to 10.0.0

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>

* Add .NET 10 SDK setup to GitHub workflows

Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
2025-11-12 10:53:47 +01:00
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
PhyxionNL 14578c57e6 Change path separator for NuGet publish command 2025-10-06 20:09:20 +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 1a774d7f25 Update workflow to publish net80 and net90 artifacts 2025-09-17 16:25:26 +02:00
PhyxionNL 5e17858d8f Update master.yml 2024-11-24 11:56:01 +01: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
PhyxionNL d17a0f5c10 Update master.yml 2022-04-29 19:27:39 +02:00
PhyxionNL 1d6dc0ca4d Update master.yml 2022-04-29 19:18:44 +02:00
PhyxionNL 23ecc5d1cc Update master.yml (#721)
* Update master.yml

* Update master.yml
2022-04-29 19:09:18 +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
Pomian 30778dc2a9 Push package directly via NuGet command (#698) 2022-03-18 09:58:28 +01:00
PhyxionNL f87adec1bd Update master.yml
ci skip
2022-03-15 11:41:26 +01:00
PhyxionNL 653db2263e Update master.yml 2022-03-15 11:34:00 +01:00
PhyxionNL cfb43854c8 Update master.yml 2022-03-15 11:31:40 +01:00
PhyxionNL 1a32abd0f5 Update pull requests.yml 2022-02-24 13:24:55 +01:00
PhyxionNL d3c45a4c19 Add .net6.0 to actions publish 2022-02-23 18:07:01 +01:00
PhyxionNL a72a517153 Update master.yml 2022-02-21 11:52:44 +01:00
Pomian 5d8c25a304 Add support for .NET 6 (#600)
Thanks to @Pomianowski.
2021-11-19 11:20:12 +01:00
PhyxionNL 1f7450019f Update master.yml 2021-06-22 09:36:10 +02:00
PhyxionNL 742c71c629 [ci skip] 2021-06-18 16:45:18 +02:00
PhyxionNL af58c32e78 [ci skip] 2021-06-18 16:45:01 +02:00
MoshiMoshi0 76503e66ca Add CI build number to project version when PR is merged (#338)
* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml

* Update main.yml
2021-01-10 17:17:10 +01:00
PhyxionNL db74902da6 [ci skip]
Fix version of workflow.
2020-11-24 10:00:48 +01:00
PhyxionNL 5bcaf2c5a3 [ci skip]
Disable symbols.
2020-11-20 10:16:23 +01:00
PhyxionNL 5804493d36 [ci skip]
Disable auto tagging on publish to NuGet.
2020-11-20 09:48:52 +01:00
PhyxionNL 1a0a57d0eb Update main.yml 2020-11-20 09:37:16 +01:00
PhyxionNL 7ac7c29013 Update main.yml 2020-10-09 14:58:35 +02:00
PhyxionNL d7dc222fc3 Update main.yml 2020-10-02 15:17:20 +02:00