Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 4 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
strategy:
matrix:
os: [ windows-2022, windows-2025, macos-15, macos-26 ]
tfm: [ net472, net8.0, net10.0 ]
tfm: [ net472, net10.0 ]
exclude:
- os: macos-15
tfm: net472
Expand All @@ -78,9 +78,7 @@ jobs:
- name: Install .NET SDK
uses: actions/setup-dotnet@v5
with:
dotnet-version: |
10.0.x
8.0.x
dotnet-version: 10.0.x
- name: Run ${{ matrix.tfm }} tests
run: dotnet test LibGit2Sharp.sln --configuration Release --framework ${{ matrix.tfm }} --logger "GitHubActions" /p:ExtraDefine=LEAKS_IDENTIFYING
test-linux:
Expand All @@ -89,20 +87,9 @@ jobs:
strategy:
matrix:
arch: [ amd64, arm64 ]
distro: [ alpine.3.20, alpine.3.21, alpine.3.22, centos.stream.9, debian.12, fedora.41, fedora.42, ubuntu.22.04, ubuntu.24.04 ]
sdk: [ '8.0', '9.0', '10.0' ]
exclude:
- distro: alpine.3.20
sdk: '10.0'
- distro: alpine.3.21
sdk: '10.0'
- distro: fedora.41
sdk: '10.0'
distro: [ alpine.3.22, centos.stream.9, debian.12, fedora.42, ubuntu.22.04, ubuntu.24.04 ]
sdk: [ '10.0' ]
include:
- sdk: '8.0'
tfm: net8.0
- sdk: '9.0'
tfm: net9.0
- sdk: '10.0'
tfm: net10.0
- arch: amd64
Expand Down
2 changes: 1 addition & 1 deletion LibGit2Sharp.Tests/LibGit2Sharp.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks Condition="'$(TargetFrameworks)'==''">net472;net8.0;net10.0</TargetFrameworks>
<TargetFrameworks Condition="'$(TargetFrameworks)'==''">net472;net10.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion LibGit2Sharp/LibGit2Sharp.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net472;net8.0;net10.0</TargetFrameworks>
<TargetFrameworks>net472;net10.0</TargetFrameworks>
<LangVersion>12.0</LangVersion>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<Description>LibGit2Sharp brings all the might and speed of libgit2, a native Git implementation, to the managed world of .NET</Description>
Expand Down
Loading