Don't build powerpc wheels for musl #542
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
pull_request: | |
push: | |
paths-ignore: | |
- '**.rst' | |
jobs: | |
x86_64: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-22.04 | |
python-version: 3.9 | |
- os: ubuntu-22.04 | |
python-version: '3.12' | |
- os: ubuntu-22.04 | |
python-version: 'pypy3.9' | |
- os: macos-latest | |
python-version: 3.9 | |
steps: | |
- name: Checkout pygit2 | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Linux | |
if: runner.os == 'Linux' | |
run: | | |
sudo apt install tinyproxy | |
LIBSSH2_VERSION=1.11.0 LIBGIT2_VERSION=1.7.2 /bin/sh build.sh test | |
- name: macOS | |
if: runner.os == 'macOS' | |
run: | | |
export OPENSSL_PREFIX=`brew --prefix [email protected]` | |
LIBSSH2_VERSION=1.11.0 LIBGIT2_VERSION=1.7.2 /bin/sh build.sh test | |
aarch64: | |
runs-on: ubuntu-22.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.0 LIBGIT2_VERSION=1.7.2 /bin/sh build.sh test | |
s390x: | |
runs-on: ubuntu-22.04 | |
if: github.ref == 'refs/heads/master' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Build & test | |
uses: uraimo/run-on-arch-action@v2 | |
with: | |
arch: s390x | |
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.0 LIBGIT2_VERSION=1.7.2 /bin/sh build.sh test | |
continue-on-error: true # Tests are expected to fail, see issue #812 |