Skip to content

Commit d8a673c

Browse files
committed
CI tests: clarify jobs
1 parent bbecec0 commit d8a673c

File tree

1 file changed

+19
-12
lines changed

1 file changed

+19
-12
lines changed

.github/workflows/tests.yml

+19-12
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- '**.rst'
88

99
jobs:
10-
x86_64:
10+
linux-x86_64:
1111
runs-on: ${{ matrix.os }}
1212
strategy:
1313
matrix:
@@ -18,8 +18,6 @@ jobs:
1818
python-version: '3.13'
1919
- os: ubuntu-24.04
2020
python-version: 'pypy3.10'
21-
- os: macos-latest
22-
python-version: '3.10'
2321

2422
steps:
2523
- name: Checkout pygit2
@@ -31,18 +29,11 @@ jobs:
3129
python-version: ${{ matrix.python-version }}
3230

3331
- name: Linux
34-
if: runner.os == 'Linux'
3532
run: |
3633
sudo apt install tinyproxy
3734
LIBSSH2_VERSION=1.11.1 LIBGIT2_VERSION=1.9.0 /bin/sh build.sh test
3835
39-
- name: macOS
40-
if: runner.os == 'macOS'
41-
run: |
42-
export OPENSSL_PREFIX=`brew --prefix [email protected]`
43-
LIBSSH2_VERSION=1.11.1 LIBGIT2_VERSION=1.9.0 /bin/sh build.sh test
44-
45-
aarch64:
36+
linux-arm64:
4637
runs-on: ubuntu-24.04
4738
steps:
4839
- name: Checkout
@@ -59,7 +50,7 @@ jobs:
5950
run: |
6051
LIBSSH2_VERSION=1.11.1 LIBGIT2_VERSION=1.9.0 /bin/sh build.sh test
6152
62-
s390x:
53+
linux-s390x:
6354
runs-on: ubuntu-24.04
6455
if: github.ref == 'refs/heads/master'
6556
steps:
@@ -77,3 +68,19 @@ jobs:
7768
run: |
7869
LIBSSH2_VERSION=1.11.1 LIBGIT2_VERSION=1.9.0 /bin/sh build.sh test
7970
continue-on-error: true # Tests are expected to fail, see issue #812
71+
72+
macos-arm64:
73+
runs-on: macos-latest
74+
steps:
75+
- name: Checkout pygit2
76+
uses: actions/checkout@v4
77+
78+
- name: Set up Python
79+
uses: actions/setup-python@v5
80+
with:
81+
python-version: '3.10'
82+
83+
- name: macOS
84+
run: |
85+
export OPENSSL_PREFIX=`brew --prefix [email protected]`
86+
LIBSSH2_VERSION=1.11.1 LIBGIT2_VERSION=1.9.0 /bin/sh build.sh test

0 commit comments

Comments
 (0)