Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 33 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,31 @@ jobs:
- name: Upload coverage report
uses: codecov/codecov-action@v1

test-arch:
if: startsWith(github.ref, 'refs/tags') || github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/main'
name: Test on ${{ matrix.distro }} ${{ matrix.arch }}
runs-on: "ubuntu-latest"
needs: lint
strategy:
matrix:
distro: [ "ubuntu20.04" ]
arch: ["aarch64"]
steps:
- uses: actions/checkout@v2.3.4
with:
submodules: recursive
- uses: uraimo/run-on-arch-action@v2.0.9
name: Build & run test
with:
arch: ${{ matrix.arch }}
distro: ${{ matrix.distro }}
install: |
apt-get update -q -y
apt-get install -q -y python3 python3-pip gcc binutils automake autoconf libtool
run: |
python3 -m pip install -U setuptools pip wheel tox
tox

# Test if the python-isal conda package can be build. Which is linked
# dynamically to the conda isa-l package.
test-dynamic:
Expand Down Expand Up @@ -132,7 +157,7 @@ jobs:
deploy:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
runs-on: ${{ matrix.os }}
needs: [lint, package-checks, test-static, test-dynamic]
needs: [lint, package-checks, test-static, test-dynamic, test-arch]
strategy:
matrix:
os: ["macos-latest", "ubuntu-latest", "windows-latest"]
Expand All @@ -153,11 +178,18 @@ jobs:
- name: Install nasm (Windows)
uses: ilammy/setup-nasm@v1.2.0
if: runner.os == 'Windows'
- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v1.0.1
with:
platforms: arm64
- name: Build wheels
run: cibuildwheel --output-dir dist
env:
CIBW_SKIP: "*-win32 *-manylinux_i686" # Skip 32 bit.
CIBW_MANYLINUX_X86_64_IMAGE: "manylinux2014"
CIBW_MANYLINUX_AARCH64_IMAGE: "manylinux2014"
CIBW_ARCHS_LINUX: "x86_64 aarch64"
# Fully test the build wheels again.
CIBW_TEST_REQUIRES: "pytest"
# Simple test that requires the project to be build correctly
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ Changelog

version 0.9.0-dev
-----------------
+ Fix a bug where a AttributeError was triggered when zlib.Z_RLE or
zlib.Z_FIXED were not present.
+ Add support for Linux aarch64 builds.
+ Add support for pypy by adding pypy tests to the CI and setting up wheel
building support.

Expand Down