Skip to content

Commit

Permalink
Switch to musl docker base images.
Browse files Browse the repository at this point in the history
  • Loading branch information
bwoodsend committed Jun 17, 2022
1 parent 126ebf4 commit b214ba3
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
strategy:
fail-fast: false
matrix:
architecture: [ppc64le, s390x, aarch64, mips64le, arm/v5, 386]
architecture: [ppc64le, s390x, aarch64, arm/v6, 386]
steps:
- uses: actions/checkout@v2
- run: git fetch --prune --unshallow
Expand All @@ -77,8 +77,13 @@ jobs:

- name: Test
run: |
docker run -v "$PWD:/io" --platform=linux/${{ matrix.architecture }} python bash -c '
cd /io && pip install . pytest && pytest
# Generate the version.h file so that the docker image does not depend on git.
python setup.py || true
docker run -v "$PWD:/io" --platform=linux/${{ matrix.architecture }} python:alpine ash -c '
apk add gcc g++ musl-dev
cd /io
pip install --no-build-isolation . pytest
pytest
'
success:
Expand Down

0 comments on commit b214ba3

Please sign in to comment.