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> <AssemblyFileVersion>$(VersionPrefix)-$(VersionSuffix)</AssemblyFileVersion>
<NuspecProperties>version=$(PackageVersion)</NuspecProperties> <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> <EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<EnableNETAnalyzers>true</EnableNETAnalyzers> <EnableNETAnalyzers>true</EnableNETAnalyzers>
<!-- This is required for IDE0005 to fail the build https://github.com/dotnet/roslyn/issues/41640 --> <!-- 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' displayName: 'Windows ARM 64 bit'
archiveFileFormat: 'zip' archiveFileFormat: 'zip'
archiveType: 'zip' archiveType: 'zip'
- name: 'linux-arm64'
archiveName: 'linux-arm64'
displayName: 'Linux ARM 64 bit'
archiveFileFormat: 'tar.gz'
archiveType: 'tar'
- name: projects - name: projects
type: object type: object
default: default:

View File

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

View File

@@ -55,7 +55,8 @@
"runtime.ubuntu.16.04-x64.native.Microsoft.SqlToolsService", "runtime.ubuntu.16.04-x64.native.Microsoft.SqlToolsService",
"runtime.win-x64.native.Microsoft.SqlToolsService", "runtime.win-x64.native.Microsoft.SqlToolsService",
"runtime.osx-arm64.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": [ "DotnetToolProjects": [
"Microsoft.SqlTools.ServiceLayer", "Microsoft.SqlTools.ServiceLayer",

View File

@@ -1,38 +1,41 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <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 --> <!-- 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>
</PropertyGroup> 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> <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.
<ItemGroup> </PackageDescription>
<ProjectReference Include="../runtime.centos.7-x64.native.Microsoft.SqlToolsService/runtime.centos.7-x64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" /> </PropertyGroup>
<ProjectReference Include="../runtime.debian.8-x64.native.Microsoft.SqlToolsService/runtime.debian.8-x64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" /> <ItemGroup>
<ProjectReference Include="../runtime.fedora.23-x64.native.Microsoft.SqlToolsService/runtime.fedora.23-x64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" /> <ProjectReference Include="../runtime.centos.7-x64.native.Microsoft.SqlToolsService/runtime.centos.7-x64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" />
<ProjectReference Include="../runtime.linux-x64.native.Microsoft.SqlToolsService/runtime.linux-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" />
<ProjectReference Include="../runtime.opensuse.13.2-x64.native.Microsoft.SqlToolsService/runtime.opensuse.13.2-x64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" /> <ProjectReference Include="../runtime.fedora.23-x64.native.Microsoft.SqlToolsService/runtime.fedora.23-x64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" />
<ProjectReference Include="../runtime.osx-x64.native.Microsoft.SqlToolsService/runtime.osx-x64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" /> <ProjectReference Include="../runtime.linux-x64.native.Microsoft.SqlToolsService/runtime.linux-x64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" />
<ProjectReference Include="../runtime.osx-arm64.native.Microsoft.SqlToolsService/runtime.osx-arm64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" /> <ProjectReference Include="../runtime.opensuse.13.2-x64.native.Microsoft.SqlToolsService/runtime.opensuse.13.2-x64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" />
<ProjectReference Include="../runtime.rhel.7.2-x64.native.Microsoft.SqlToolsService/runtime.rhel.7.2-x64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" /> <ProjectReference Include="../runtime.osx-x64.native.Microsoft.SqlToolsService/runtime.osx-x64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" />
<ProjectReference Include="../runtime.ubuntu.14.04-x64.native.Microsoft.SqlToolsService/runtime.ubuntu.14.04-x64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" /> <ProjectReference Include="../runtime.osx-arm64.native.Microsoft.SqlToolsService/runtime.osx-arm64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" />
<ProjectReference Include="../runtime.ubuntu.16.04-x64.native.Microsoft.SqlToolsService/runtime.ubuntu.16.04-x64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" /> <ProjectReference Include="../runtime.rhel.7.2-x64.native.Microsoft.SqlToolsService/runtime.rhel.7.2-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.ubuntu.14.04-x64.native.Microsoft.SqlToolsService/runtime.ubuntu.14.04-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.ubuntu.16.04-x64.native.Microsoft.SqlToolsService/runtime.ubuntu.16.04-x64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" />
</ItemGroup> <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" />
<ItemGroup> <ProjectReference Include="../runtime.linux-arm64.native.Microsoft.SqlToolsService/runtime.linux-arm64.native.Microsoft.SqlToolsService.csproj" PrivateAssets="All" />
<PackageReference Include="runtime.linux-x64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" /> </ItemGroup>
<PackageReference Include="runtime.debian.8-x64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" /> <ItemGroup>
<PackageReference Include="runtime.opensuse.13.2-x64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" /> <PackageReference Include="runtime.linux-x64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" />
<PackageReference Include="runtime.osx-x64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" /> <PackageReference Include="runtime.debian.8-x64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" />
<PackageReference Include="runtime.osx-arm64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" /> <PackageReference Include="runtime.opensuse.13.2-x64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" />
<PackageReference Include="runtime.rhel.7.2-x64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" /> <PackageReference Include="runtime.osx-x64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" />
<PackageReference Include="runtime.ubuntu.14.04-x64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" /> <PackageReference Include="runtime.osx-arm64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" />
<PackageReference Include="runtime.ubuntu.16.04-x64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" /> <PackageReference Include="runtime.rhel.7.2-x64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" />
<PackageReference Include="runtime.win-x64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" /> <PackageReference Include="runtime.ubuntu.14.04-x64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" />
<PackageReference Include="runtime.win-arm64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" /> <PackageReference Include="runtime.ubuntu.16.04-x64.native.Microsoft.SqlToolsService" VersionOverride="$(PackageVersion)" />
</ItemGroup> <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> </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>