diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 54837ac35..7fae84681 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 @@ -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" diff --git a/LibGit2Sharp/LibGit2Sharp.csproj b/LibGit2Sharp/LibGit2Sharp.csproj index 1c4abef7b..1e8844867 100644 --- a/LibGit2Sharp/LibGit2Sharp.csproj +++ b/LibGit2Sharp/LibGit2Sharp.csproj @@ -29,7 +29,7 @@ - +