Skip to content

Commit

Permalink
CI tests: clarify jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavid committed Dec 31, 2024
1 parent bbecec0 commit d8a673c
Showing 1 changed file with 19 additions and 12 deletions.
31 changes: 19 additions & 12 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- '**.rst'

jobs:
x86_64:
linux-x86_64:
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand All @@ -18,8 +18,6 @@ jobs:
python-version: '3.13'
- os: ubuntu-24.04
python-version: 'pypy3.10'
- os: macos-latest
python-version: '3.10'

steps:
- name: Checkout pygit2
Expand All @@ -31,18 +29,11 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Linux
if: runner.os == 'Linux'
run: |
sudo apt install tinyproxy
LIBSSH2_VERSION=1.11.1 LIBGIT2_VERSION=1.9.0 /bin/sh build.sh test
- name: macOS
if: runner.os == 'macOS'
run: |
export OPENSSL_PREFIX=`brew --prefix openssl@1.1`
LIBSSH2_VERSION=1.11.1 LIBGIT2_VERSION=1.9.0 /bin/sh build.sh test
aarch64:
linux-arm64:
runs-on: ubuntu-24.04
steps:
- name: Checkout
Expand All @@ -59,7 +50,7 @@ jobs:
run: |
LIBSSH2_VERSION=1.11.1 LIBGIT2_VERSION=1.9.0 /bin/sh build.sh test
s390x:
linux-s390x:
runs-on: ubuntu-24.04
if: github.ref == 'refs/heads/master'
steps:
Expand All @@ -77,3 +68,19 @@ jobs:
run: |
LIBSSH2_VERSION=1.11.1 LIBGIT2_VERSION=1.9.0 /bin/sh build.sh test
continue-on-error: true # Tests are expected to fail, see issue #812

macos-arm64:
runs-on: macos-latest
steps:
- name: Checkout pygit2
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: macOS
run: |
export OPENSSL_PREFIX=`brew --prefix openssl@1.1`
LIBSSH2_VERSION=1.11.1 LIBGIT2_VERSION=1.9.0 /bin/sh build.sh test

0 comments on commit d8a673c

Please sign in to comment.