Skip to content

Commit 7bd8362

Browse files
committed
ci: update runners and containers
Update runner targets for windows, macos. Update container builds to use more modern multiarch containers.
1 parent 8f3a63a commit 7bd8362

1 file changed

Lines changed: 20 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,12 @@ jobs:
3838
strategy:
3939
matrix:
4040
arch: [ x64 ]
41-
os: [ windows-2019, windows-2022, macos-13 ]
41+
os: [ windows-2022, windows-2025, macos-14, macos-15 ]
4242
tfm: [ net472, net8.0, net9.0 ]
4343
exclude:
44-
- os: macos-13
44+
- os: macos-14
45+
tfm: net472
46+
- os: macos-15
4547
tfm: net472
4648
include:
4749
- arch: arm64
@@ -71,19 +73,33 @@ jobs:
7173
matrix:
7274
arch: [ amd64, arm64 ]
7375
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 ]
74-
sdk: [ '8.0', '9.0' ]
76+
sdk: [ '8.0', '9.0', '10.0' ]
7577
exclude:
7678
- distro: alpine.3.17
7779
sdk: '9.0'
80+
- distro: alpine.3.17
81+
sdk: '10.0'
7882
- distro: alpine.3.18
7983
sdk: '9.0'
84+
- distro: alpine.3.18
85+
sdk: '10.0'
8086
- distro: alpine.3.19
8187
sdk: '9.0'
88+
- distro: alpine.3.19
89+
sdk: '10.0'
90+
- distro: alpine.3.20
91+
sdk: '10.0'
92+
- distro: fedora.40
93+
sdk: '10.0'
94+
- distro: ubuntu.20.04
95+
sdk: '10.0'
8296
include:
8397
- sdk: '8.0'
8498
tfm: net8.0
8599
- sdk: '9.0'
86100
tfm: net9.0
101+
- sdk: '10.0'
102+
tfm: net10.0
87103
- arch: amd64
88104
runnerImage: ubuntu-22.04
89105
- arch: arm64
@@ -98,5 +114,5 @@ jobs:
98114
run: |
99115
git_command="git config --global --add safe.directory /app"
100116
test_command="dotnet test LibGit2Sharp.sln --configuration Release -p:TargetFrameworks=${{ matrix.tfm }} --logger "GitHubActions" -p:ExtraDefine=LEAKS_IDENTIFYING"
101-
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"
117+
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"
102118

0 commit comments

Comments
 (0)