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.
This commit is contained in:
@@ -66,6 +66,16 @@ jobs:
|
||||
path: |
|
||||
bin/Release/x86
|
||||
|
||||
- name: Build ARM64 libraries
|
||||
run: dotnet build LibreHardwareMonitorLib\LibreHardwareMonitorLib.csproj -c Release --no-restore -p:Platform=ARM64
|
||||
|
||||
- name: Publish ARM64 libraries
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: LibreHardwareMonitorLib (ARM64)
|
||||
path: |
|
||||
bin/Release/ARM64
|
||||
|
||||
- name: Build reference libraries
|
||||
run: dotnet build LibreHardwareMonitorLib\LibreHardwareMonitorLib.csproj -c Release --no-restore -p:BuildOnlyRefs=true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user