From 4bfcbafd9827045ef88b9c26ab9fb3f1390f6b17 Mon Sep 17 00:00:00 2001 From: Brandon Ording Date: Fri, 17 Jan 2025 21:24:45 -0500 Subject: [PATCH] Use arm runner images --- .github/workflows/ci.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6d29a0999..e6fda02fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,11 +66,10 @@ jobs: run: dotnet test LibGit2Sharp.sln --configuration Release --framework ${{ matrix.tfm }} --logger "GitHubActions" /p:ExtraDefine=LEAKS_IDENTIFYING test-linux: name: Test / ${{ matrix.distro }} / ${{ matrix.arch }} / ${{ matrix.tfm }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-22.04${{ matrix.imageTag }} strategy: matrix: - arch: [ amd64 ] - # arch: [ amd64, arm64 ] + 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' ] exclude: @@ -85,15 +84,14 @@ jobs: tfm: net8.0 - sdk: '9.0' tfm: net9.0 + - arch: arm64 + imageTag: -arm fail-fast: false steps: - name: Checkout uses: actions/checkout@v4.1.2 with: fetch-depth: 0 - - name: Setup QEMU - if: matrix.arch == 'arm64' - run: docker run --rm --privileged multiarch/qemu-user-static:register --reset - name: Run ${{ matrix.tfm }} tests run: | git_command="git config --global --add safe.directory /app"