diff options
author | Heikki Vatiainen <hvn@radiatorsoftware.com> | 2023-06-22 21:26:13 +0300 |
---|---|---|
committer | Heikki Vatiainen <hvn@radiatorsoftware.com> | 2023-06-22 21:26:13 +0300 |
commit | 28559a0ef96ad4c45f9aaca6090ebea979bf528b (patch) | |
tree | 368906ac397a6631078c08c3e0f8abe05da56baa | |
parent | 936aca55ff32173af49264ce048108cc54a27054 (diff) |
GH-436 Add more Alpine Linux tests.
Run tests on all currently supported Alpine Linux versions.
Exclude LibreSSL on s390x Alpine 3.18 because LibreSSL seems not to be present
with this combination.
-rw-r--r-- | .github/workflows/ci.yml | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2aa3744..7d9ead9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -164,7 +164,7 @@ jobs: make test non_x86_alpine: - name: "${{ matrix.platform }}/Alpine (${{ matrix.package }})" + name: "${{ matrix.platform }}/Alpine/${{ matrix.alpine_version }} (${{ matrix.package }})" runs-on: ubuntu-latest @@ -179,6 +179,15 @@ jobs: - arm32v6 - arm32v7 - arm64v8 + alpine_version: + - '3.18' + - '3.17' + - '3.16' + - '3.15' + exclude: + - package: libressl + platform: s390x + alpine_version: '3.18' steps: - uses: actions/checkout@main @@ -189,7 +198,7 @@ jobs: # NB: “openssl” is correct, even for LibreSSL: - name: Run tests on ${{ matrix.platform }} - run: docker run --rm --interactive --mount type=bind,source=$(pwd),target=/host ${{ matrix.platform }}/alpine sh -c "apk add perl-dev perl-app-cpanminus make gcc musl-dev zlib-dev ${{ matrix.package }}-dev openssl && perl -V && cd /host && cpanm --verbose --notest --installdeps . && perl Makefile.PL && make test" + run: docker run --rm --interactive --mount type=bind,source=$(pwd),target=/host ${{ matrix.platform }}/alpine:${{ matrix.alpine_version}} sh -c "apk add perl-dev perl-app-cpanminus make gcc musl-dev zlib-dev ${{ matrix.package }}-dev openssl && perl -V && cd /host && cpanm --verbose --notest --installdeps . && perl Makefile.PL && make test" non_x86_ubuntu: name: "${{ matrix.platform }}/Ubuntu" |