linux arm64 (#1958)

This commit is contained in:
Alan Ren
2023-03-21 21:19:52 -07:00
committed by GitHub
parent a104251885
commit 0c99327429
6 changed files with 58 additions and 39 deletions

View File

@@ -23,7 +23,7 @@
<AssemblyFileVersion>$(VersionPrefix)-$(VersionSuffix)</AssemblyFileVersion>
<NuspecProperties>version=$(PackageVersion)</NuspecProperties>
<ToolsServiceTargetRuntimes>win-x64;win-x86;win-arm64;ubuntu.14.04-x64;ubuntu.16.04-x64;centos.7-x64;rhel.7.2-x64;debian.8-x64;fedora.23-x64;opensuse.13.2-x64;osx.10.11-x64;osx-x64;osx-arm64;linux-x64</ToolsServiceTargetRuntimes>
<ToolsServiceTargetRuntimes>win-x64;win-x86;win-arm64;ubuntu.14.04-x64;ubuntu.16.04-x64;centos.7-x64;rhel.7.2-x64;debian.8-x64;fedora.23-x64;opensuse.13.2-x64;osx.10.11-x64;osx-x64;osx-arm64;linux-x64;linux-arm64</ToolsServiceTargetRuntimes>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<!-- This is required for IDE0005 to fail the build https://github.com/dotnet/roslyn/issues/41640 -->

View File

@@ -32,6 +32,11 @@ parameters:
displayName: 'Windows ARM 64 bit'
archiveFileFormat: 'zip'
archiveType: 'zip'
- name: 'linux-arm64'
archiveName: 'linux-arm64'
displayName: 'Linux ARM 64 bit'
archiveFileFormat: 'tar.gz'
archiveType: 'tar'
- name: projects
type: object
default:

View File

@@ -136,7 +136,8 @@ Task("PopulateRuntimes")
"osx.10.11-x64",
"osx-x64",
"osx-arm64",
"linux-x64"
"linux-x64",
"linux-arm64"
};
});

View File

@@ -55,7 +55,8 @@
"runtime.ubuntu.16.04-x64.native.Microsoft.SqlToolsService",
"runtime.win-x64.native.Microsoft.SqlToolsService",
"runtime.osx-arm64.native.Microsoft.SqlToolsService",
"runtime.win-arm64.native.Microsoft.SqlToolsService"
"runtime.win-arm64.native.Microsoft.SqlToolsService",
"runtime.linux-arm64.native.Microsoft.SqlToolsService"
],
"DotnetToolProjects": [
"Microsoft.SqlTools.ServiceLayer",

View File

@@ -1,13 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<!-- We don't need to generate a DLL, but we still want to include the build targets so we get the project references added as dependencies in the package -->
<NoBuild>true</NoBuild>
<NoBuild>
true
</NoBuild>
</PropertyGroup>
<PropertyGroup>
<PackageDescription>Root package for .NET client SQL Tools Service application. This package is intended to be used by internal applications only and should not be referenced directly.</PackageDescription>
<PackageDescription>
Root package for .NET client SQL Tools Service application. This package is intended to be used by internal applications only and should not be referenced directly.
</PackageDescription>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="../runtime.centos.7-x64.native.Microsoft.SqlToolsService/runtime.centos.7-x64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" />
<ProjectReference Include="../runtime.debian.8-x64.native.Microsoft.SqlToolsService/runtime.debian.8-x64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" />
@@ -21,8 +23,8 @@
<ProjectReference Include="../runtime.ubuntu.16.04-x64.native.Microsoft.SqlToolsService/runtime.ubuntu.16.04-x64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" />
<ProjectReference Include="../runtime.win-x64.native.Microsoft.SqlToolsService/runtime.win-x64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" />
<ProjectReference Include="../runtime.win-arm64.native.Microsoft.SqlToolsService/runtime.win-arm64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" />
<ProjectReference Include="../runtime.linux-arm64.native.Microsoft.SqlToolsService/runtime.linux-arm64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="runtime.linux-x64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" />
<PackageReference Include="runtime.debian.8-x64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" />
@@ -34,5 +36,6 @@
<PackageReference Include="runtime.ubuntu.16.04-x64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" />
<PackageReference Include="runtime.win-x64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" />
<PackageReference Include="runtime.win-arm64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" />
<PackageReference Include="runtime.linux-arm64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1,9 @@
<Project Sdk="Microsoft.Build.NoTargets">
<PropertyGroup>
<PackageDescription>SQL Tools Service application for the linux-arm64 runtime. This package is intended to be used by internal applications only and should not be referenced directly.</PackageDescription>
</PropertyGroup>
<ItemGroup>
<None Include="../../artifacts/publish/Microsoft.SqlTools.ServiceLayer/linux-arm64/$(TargetFramework)/**" Pack="true" PackagePath="runtimes/linux-arm64/native" />
</ItemGroup>
</Project>