From 47ca99a87d00db3118c58acb23ec227a6c6dfba6 Mon Sep 17 00:00:00 2001 From: Iliyas Jorio Date: Sat, 1 Feb 2025 14:12:53 +0100 Subject: [PATCH] CI: Run tests on a real ARM runner --- .github/workflows/tests.yml | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2e0cc78f..0eab65c2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -7,7 +7,7 @@ on: - '**.rst' jobs: - linux-x86_64: + linux: runs-on: ${{ matrix.os }} strategy: matrix: @@ -18,6 +18,8 @@ jobs: python-version: '3.13' - os: ubuntu-24.04 python-version: 'pypy3.10' + - os: ubuntu-24.04-arm + python-version: '3.13' steps: - name: Checkout pygit2 @@ -33,23 +35,6 @@ jobs: sudo apt install tinyproxy LIBSSH2_VERSION=1.11.1 LIBGIT2_VERSION=1.9.0 /bin/sh build.sh test - linux-arm64: - runs-on: ubuntu-24.04 - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Build & test - uses: uraimo/run-on-arch-action@v2 - with: - arch: aarch64 - distro: ubuntu22.04 - install: | - apt-get update -q -y - apt-get install -q -y cmake libssl-dev python3-dev python3-venv wget - run: | - LIBSSH2_VERSION=1.11.1 LIBGIT2_VERSION=1.9.0 /bin/sh build.sh test - linux-s390x: runs-on: ubuntu-24.04 if: github.ref == 'refs/heads/master'