File tree Expand file tree Collapse file tree 5 files changed +30
-13
lines changed
Expand file tree Collapse file tree 5 files changed +30
-13
lines changed Original file line number Diff line number Diff line change @@ -2,24 +2,41 @@ name: .NET
22
33on :
44 push :
5- branches : [ dotdevelop ]
5+ branches : [ dd/issues/2 ]
66 pull_request :
7- branches : [ dotdevelop ]
7+ branches : [ dd/issues/2 ]
88
99jobs :
1010 build :
1111
1212 runs-on : ubuntu-20.04
1313
14+ container :
15+ image : " debian:buster"
16+
1417 steps :
18+ - name : Dependencies
19+ run : |
20+ apt update
21+ apt upgrade -y
22+ apt install git apt-transport-https dirmngr gnupg ca-certificates wget autoconf intltool build-essential sed -y
23+ wget https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
24+ dpkg -i packages-microsoft-prod.deb
25+ apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
26+ echo "deb https://download.mono-project.com/repo/debian stable-buster main" > /etc/apt/sources.list.d/mono-official-stable.list
27+ apt update
28+ apt install mono-devel fsharp gtk-sharp2 -y
1529 - uses : actions/checkout@v2
30+ with :
31+ fetch-depth : 0
1632 - name : Setup .NET
1733 uses : actions/setup-dotnet@v1
1834 with :
1935 dotnet-version : 3.1.401
2036 - name : Restore dependencies
2137 run : dotnet restore LibGit2Sharp.sln
2238 - name : Build
23- run : dotnet build --no-restore LibGit2Sharp.sln
39+ run : dotnet build --no-restore LibGit2Sharp.sln
2440 - name : Test
2541 run : dotnet test --no-build --verbosity normal LibGit2Sharp.sln
42+
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFrameworks >net472;net48; netcoreapp3.1</TargetFrameworks >
5- </PropertyGroup >
4+ <TargetFrameworks >netcoreapp3.1</TargetFrameworks >
5+ < RuntimeIdentifiers >linux-x64</ RuntimeIdentifiers > </PropertyGroup >
66
77 <ItemGroup >
88 <ProjectReference Include =" ..\LibGit2Sharp\LibGit2Sharp.csproj" />
9- <ProjectReference Include =" ..\NativeLibraryLoadTestApp\x86\NativeLibraryLoadTestApp.x86.csproj" Condition =" '$(TargetFramework)' == 'net46'" ReferenceOutputAssembly =" false" OutputItemType =" TestAppExe" />
10- <ProjectReference Include =" ..\NativeLibraryLoadTestApp\x64\NativeLibraryLoadTestApp.x64.csproj" Condition =" '$(TargetFramework)' == 'net46'" ReferenceOutputAssembly =" false" OutputItemType =" TestAppExe" />
11- </ItemGroup >
9+ </ItemGroup >
1210
1311 <ItemGroup >
1412 <PackageReference Include =" coverlet.msbuild" Version =" 2.7.0" />
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ internal class GitStatusOptions : IDisposable
1313
1414 public GitStrArrayManaged PathSpec ;
1515
16+ public unsafe void * Baseline = ( void * ) 0 ;
17+
1618 public void Dispose ( )
1719 {
1820 PathSpec . Dispose ( ) ;
Original file line number Diff line number Diff line change 88 <Company >LibGit2Sharp contributors</Company >
99 <Copyright >Copyright © LibGit2Sharp contributors</Copyright >
1010 <PackageTags >libgit2 git</PackageTags >
11- <PackageProjectUrl >https://github.com/libgit2 /libgit2sharp/</PackageProjectUrl >
11+ <PackageProjectUrl >https://github.com/dotdevelop /libgit2sharp/</PackageProjectUrl >
1212 <Authors >LibGit2Sharp contributors</Authors >
1313 <PublishRepositoryUrl >true</PublishRepositoryUrl >
1414 <EmbedUntrackedSources >true</EmbedUntrackedSources >
3333 </ItemGroup >
3434
3535 <ItemGroup >
36- <PackageReference Include =" LibGit2Sharp.NativeBinaries" Version =" [2.0.305 ]" PrivateAssets =" none" />
36+ <PackageReference Include =" LibGit2Sharp.NativeBinaries" Version =" [2.0.312 ]" PrivateAssets =" none" />
3737 <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.0.0" PrivateAssets =" all" />
38- <PackageReference Include =" Nerdbank.GitVersioning" Version =" 3.1.91 " PrivateAssets =" all" />
38+ <PackageReference Include =" Nerdbank.GitVersioning" Version =" 3.4.165-alpha " PrivateAssets =" all" />
3939 </ItemGroup >
4040
4141 <Import Project =" ..\Targets\CodeGenerator.targets" />
Original file line number Diff line number Diff line change 11{
22 "$schema" : " https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json" ,
3- "version" : " 0.27.0-preview.{height} " ,
3+ "version" : " 0.27.0-preview" ,
44 "publicReleaseRefSpec" : [
5- " ^refs/heads/master $" , // we release out of master
5+ " ^refs/heads/dotdevelop $" , // we release out of dotdevelop
66 " ^refs/heads/maint/v\\ d+(?:\\ .\\ d+)?$" // and maint/vNN branches
77 ],
88 "cloudBuild" : {
You can’t perform that action at this time.
0 commit comments