Skip to content
Merged
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
24 changes: 20 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@ jobs:
strategy:
matrix:
arch: [ x64 ]
os: [ windows-2019, windows-2022, macos-13 ]
os: [ windows-2022, windows-2025, macos-14, macos-15 ]
tfm: [ net472, net8.0, net9.0 ]
exclude:
- os: macos-13
- os: macos-14
tfm: net472
- os: macos-15
tfm: net472
include:
- arch: arm64
Expand Down Expand Up @@ -71,19 +73,33 @@ jobs:
matrix:
arch: [ amd64, arm64 ]
distro: [ alpine.3.17, alpine.3.18, alpine.3.19, alpine.3.20, centos.stream.9, debian.12, fedora.40, ubuntu.20.04, ubuntu.22.04, ubuntu.24.04 ]
sdk: [ '8.0', '9.0' ]
sdk: [ '8.0', '9.0', '10.0' ]
exclude:
- distro: alpine.3.17
sdk: '9.0'
- distro: alpine.3.17
sdk: '10.0'
- distro: alpine.3.18
sdk: '9.0'
- distro: alpine.3.18
sdk: '10.0'
- distro: alpine.3.19
sdk: '9.0'
- distro: alpine.3.19
sdk: '10.0'
- distro: alpine.3.20
sdk: '10.0'
- distro: fedora.40
sdk: '10.0'
- distro: ubuntu.20.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
runnerImage: ubuntu-22.04
- arch: arm64
Expand All @@ -98,5 +114,5 @@ jobs:
run: |
git_command="git config --global --add safe.directory /app"
test_command="dotnet test LibGit2Sharp.sln --configuration Release -p:TargetFrameworks=${{ matrix.tfm }} --logger "GitHubActions" -p:ExtraDefine=LEAKS_IDENTIFYING"
docker run -t --rm --platform linux/${{ matrix.arch }} -v "$PWD:/app" -e OPENSSL_ENABLE_SHA1_SIGNATURES=1 gittools/build-images:${{ matrix.distro }}-sdk-${{ matrix.sdk }} sh -c "$git_command && $test_command"
docker run -t --rm --platform linux/${{ matrix.arch }} -v "$PWD:/home/gittools/app" -w "/home/gittools/app" -e OPENSSL_ENABLE_SHA1_SIGNATURES=1 gittools/build-images:${{ matrix.distro }}-sdk-${{ matrix.sdk }} sh -c "$git_command && $test_command"

2 changes: 1 addition & 1 deletion LibGit2Sharp/LibGit2Sharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="LibGit2Sharp.NativeBinaries" Version="[2.0.323]" PrivateAssets="none" />
<PackageReference Include="LibGit2Sharp.NativeBinaries" Version="[2.0.324]" PrivateAssets="none" />
<PackageReference Include="MinVer" Version="6.0.0" PrivateAssets="all" />
</ItemGroup>

Expand Down
Loading