diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2021-10-23 16:53:28 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-24 04:53:28 +0800 |
commit | 9c2a9ede43b846a7daed322817b77bd16bdf6d2f (patch) | |
tree | 44735ff7663db2fc3489dadb25bf1d0431276518 | |
parent | 95d9f1eb0b4d1baafb6fa6f437ba2e0ad2769c00 (diff) | |
download | py-bcrypt-git-9c2a9ede43b846a7daed322817b77bd16bdf6d2f.tar.gz |
Structure the distros CI more like cryptography's (#273)
-rw-r--r-- | .github/workflows/ci.yml | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 60e9733..a7ba18b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -75,6 +75,22 @@ jobs: env: TOXENV: ${{ matrix.PYTHON.TOXENV }} + linux-distros: + runs-on: ubuntu-latest + container: ghcr.io/pyca/cryptography-runner-${{ matrix.IMAGE.IMAGE }} + strategy: + matrix: + IMAGE: + - {IMAGE: "alpine", TOXENV: "py39"} + name: "${{ matrix.IMAGE.TOXENV }} on ${{ matrix.IMAGE.IMAGE }}" + steps: + - uses: actions/checkout@v2.3.5 + with: + persist-credentials: false + - run: 'tox' + env: + TOXENV: ${{ matrix.IMAGE.TOXENV }} + manylinux-arm64: name: "${{ matrix.PYTHON.TOXENV }} on manylinux2014-aarch64" runs-on: ubuntu-20.04 @@ -95,21 +111,3 @@ jobs: /opt/python/${{ matrix.PYTHON.VERSION }}/bin/python -m venv .venv; .venv/bin/pip install -U tox; .venv/bin/tox -e ${{ matrix.PYTHON.TOXENV }};" - - musllinux: - name: "${{ matrix.PYTHON.TOXENV }} on musllinux" - runs-on: ubuntu-20.04 - strategy: - matrix: - PYTHON: - - {VERSION: "3.9", TOXENV: "py39"} - steps: - - uses: actions/checkout@v2.3.5 - - uses: docker://registry.hub.docker.com/library/python:3.9-alpine - with: - args: | - sh -c "set -xe; - python -m venv .venv; - apk add gcc py3-wheel libc-dev libffi-dev alpine-sdk; - .venv/bin/pip install -U tox; - .venv/bin/tox -e ${{ matrix.PYTHON.TOXENV }};" |