File tree 5 files changed +30
-13
lines changed 5 files changed +30
-13
lines changed Original file line number Diff line number Diff line change @@ -2,24 +2,41 @@ name: .NET
2
2
3
3
on :
4
4
push :
5
- branches : [ dotdevelop ]
5
+ branches : [ dd/issues/2 ]
6
6
pull_request :
7
- branches : [ dotdevelop ]
7
+ branches : [ dd/issues/2 ]
8
8
9
9
jobs :
10
10
build :
11
11
12
12
runs-on : ubuntu-20.04
13
13
14
+ container :
15
+ image : " debian:buster"
16
+
14
17
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
15
29
- uses : actions/checkout@v2
30
+ with :
31
+ fetch-depth : 0
16
32
- name : Setup .NET
17
33
uses : actions/setup-dotnet@v1
18
34
with :
19
35
dotnet-version : 3.1.401
20
36
- name : Restore dependencies
21
37
run : dotnet restore LibGit2Sharp.sln
22
38
- name : Build
23
- run : dotnet build --no-restore LibGit2Sharp.sln
39
+ run : dotnet build --no-restore LibGit2Sharp.sln
24
40
- name : Test
25
41
run : dotnet test --no-build --verbosity normal LibGit2Sharp.sln
42
+
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >net472;net48; netcoreapp3.1</TargetFrameworks >
5
- </PropertyGroup >
4
+ <TargetFrameworks >netcoreapp3.1</TargetFrameworks >
5
+ < RuntimeIdentifiers >linux-x64</ RuntimeIdentifiers > </PropertyGroup >
6
6
7
7
<ItemGroup >
8
8
<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 >
12
10
13
11
<ItemGroup >
14
12
<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
13
13
14
14
public GitStrArrayManaged PathSpec ;
15
15
16
+ public unsafe void * Baseline = ( void * ) 0 ;
17
+
16
18
public void Dispose ( )
17
19
{
18
20
PathSpec . Dispose ( ) ;
Original file line number Diff line number Diff line change 8
8
<Company >LibGit2Sharp contributors</Company >
9
9
<Copyright >Copyright © LibGit2Sharp contributors</Copyright >
10
10
<PackageTags >libgit2 git</PackageTags >
11
- <PackageProjectUrl >https://github.com/libgit2 /libgit2sharp/</PackageProjectUrl >
11
+ <PackageProjectUrl >https://github.com/dotdevelop /libgit2sharp/</PackageProjectUrl >
12
12
<Authors >LibGit2Sharp contributors</Authors >
13
13
<PublishRepositoryUrl >true</PublishRepositoryUrl >
14
14
<EmbedUntrackedSources >true</EmbedUntrackedSources >
33
33
</ItemGroup >
34
34
35
35
<ItemGroup >
36
- <PackageReference Include =" LibGit2Sharp.NativeBinaries" Version =" [2.0.305 ]" PrivateAssets =" none" />
36
+ <PackageReference Include =" LibGit2Sharp.NativeBinaries" Version =" [2.0.312 ]" PrivateAssets =" none" />
37
37
<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" />
39
39
</ItemGroup >
40
40
41
41
<Import Project =" ..\Targets\CodeGenerator.targets" />
Original file line number Diff line number Diff line change 1
1
{
2
2
"$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" ,
4
4
"publicReleaseRefSpec" : [
5
- " ^refs/heads/master $" , // we release out of master
5
+ " ^refs/heads/dotdevelop $" , // we release out of dotdevelop
6
6
" ^refs/heads/maint/v\\ d+(?:\\ .\\ d+)?$" // and maint/vNN branches
7
7
],
8
8
"cloudBuild" : {
You can’t perform that action at this time.
0 commit comments