Skip to content

Commit 4a9cee2

Browse files
authored
Merge pull request #140 from pycompression/test_aarch64
Better tests for aarch64
2 parents ff7d9da + d037fb2 commit 4a9cee2

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -105,22 +105,25 @@ jobs:
105105
runs-on: "ubuntu-latest"
106106
strategy:
107107
matrix:
108-
distro: [ "ubuntu_latest" ]
109-
arch: ["aarch64"]
108+
python_version:
109+
- "3.7"
110+
- "3.8"
111+
- "3.9"
112+
- "3.10"
113+
- "3.11"
110114
steps:
111115
- uses: actions/[email protected]
112116
with:
113117
submodules: recursive
114-
- uses: uraimo/run-on-arch-action@v2.2.0
118+
- uses: uraimo/run-on-arch-action@v2.5.0
115119
name: Build & run test
116120
with:
117-
arch: ${{ matrix.arch }}
118-
distro: ${{ matrix.distro }}
119-
install: |
120-
apt-get update -q -y
121-
apt-get install -q -y python3 python3-pip gcc binutils automake autoconf libtool tox
122-
run: |
123-
tox
121+
arch: none
122+
distro: none
123+
base_image: "--platform=linux/arm64 quay.io/pypa/manylinux2014_aarch64"
124+
run: |-
125+
python${{matrix.python_version}} -m pip install . pytest
126+
python${{matrix.python_version}} -m pytest tests
124127
125128
# Test if the python-isal conda package can be build. Which is linked
126129
# dynamically to the conda isa-l package.

0 commit comments

Comments
 (0)