Skip to content

Commit 50d6978

Browse files
authored
Use arm runner images (#2141)
1 parent 8276589 commit 50d6978

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,10 @@ jobs:
6666
run: dotnet test LibGit2Sharp.sln --configuration Release --framework ${{ matrix.tfm }} --logger "GitHubActions" /p:ExtraDefine=LEAKS_IDENTIFYING
6767
test-linux:
6868
name: Test / ${{ matrix.distro }} / ${{ matrix.arch }} / ${{ matrix.tfm }}
69-
runs-on: ubuntu-22.04
69+
runs-on: ${{ matrix.runnerImage }}
7070
strategy:
7171
matrix:
72-
arch: [ amd64 ]
73-
# arch: [ amd64, arm64 ]
72+
arch: [ amd64, arm64 ]
7473
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 ]
7574
sdk: [ '8.0', '9.0' ]
7675
exclude:
@@ -85,15 +84,16 @@ jobs:
8584
tfm: net8.0
8685
- sdk: '9.0'
8786
tfm: net9.0
87+
- arch: amd64
88+
runnerImage: ubuntu-22.04
89+
- arch: arm64
90+
runnerImage: ubuntu-22.04-arm
8891
fail-fast: false
8992
steps:
9093
- name: Checkout
9194
uses: actions/[email protected]
9295
with:
9396
fetch-depth: 0
94-
- name: Setup QEMU
95-
if: matrix.arch == 'arm64'
96-
run: docker run --rm --privileged multiarch/qemu-user-static:register --reset
9797
- name: Run ${{ matrix.tfm }} tests
9898
run: |
9999
git_command="git config --global --add safe.directory /app"

0 commit comments

Comments
 (0)