Skip to content

Commit

Permalink
Added alpine 3.13 and 3.14 into building test. (swoole#4309)
Browse files Browse the repository at this point in the history
  • Loading branch information
limingxinleo authored Jul 12, 2021
1 parent 9168c1a commit 0e91dfc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/alpine.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ FROM hyperf/hyperf:${PHP_VERSION}-alpine-v${ALPINE_VERSION}-dev

LABEL maintainer="Swoole Team <team@swoole.com>" version="1.0" license="MIT"

ARG PHP_VERSION

COPY . /opt/www

WORKDIR /opt/www
Expand All @@ -13,7 +15,7 @@ RUN set -ex \
&& phpize \
&& ./configure --enable-openssl --enable-http2 --enable-swoole-curl --enable-swoole-json \
&& make -s -j$(nproc) && make install \
&& echo "extension=swoole.so" > /etc/php7/conf.d/50_swoole.ini \
&& echo "extension=swoole.so" > /etc/php${PHP_VERSION%\.*}/conf.d/50_swoole.ini \
# check
&& php -v \
&& php -m \
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/ext.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: [ '7.3', '7.4' ]
alpine-version: [ '3.9', '3.10', '3.11', '3.12' ]
exclude:
- php-version: '7.3'
alpine-version: '3.12'
php-version: [ '7.4', '8.0' ]
alpine-version: [ '3.11', '3.12', '3.13', '3.14' ]
max-parallel: 8
fail-fast: false
steps:
Expand Down

0 comments on commit 0e91dfc

Please sign in to comment.