Skip to content

Commit 0e91dfc

Browse files
authored
Added alpine 3.13 and 3.14 into building test. (swoole#4309)
1 parent 9168c1a commit 0e91dfc

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/alpine.Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ FROM hyperf/hyperf:${PHP_VERSION}-alpine-v${ALPINE_VERSION}-dev
55

66
LABEL maintainer="Swoole Team <[email protected]>" version="1.0" license="MIT"
77

8+
ARG PHP_VERSION
9+
810
COPY . /opt/www
911

1012
WORKDIR /opt/www
@@ -13,7 +15,7 @@ RUN set -ex \
1315
&& phpize \
1416
&& ./configure --enable-openssl --enable-http2 --enable-swoole-curl --enable-swoole-json \
1517
&& make -s -j$(nproc) && make install \
16-
&& echo "extension=swoole.so" > /etc/php7/conf.d/50_swoole.ini \
18+
&& echo "extension=swoole.so" > /etc/php${PHP_VERSION%\.*}/conf.d/50_swoole.ini \
1719
# check
1820
&& php -v \
1921
&& php -m \

.github/workflows/ext.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,8 @@ jobs:
9292
runs-on: ubuntu-latest
9393
strategy:
9494
matrix:
95-
php-version: [ '7.3', '7.4' ]
96-
alpine-version: [ '3.9', '3.10', '3.11', '3.12' ]
97-
exclude:
98-
- php-version: '7.3'
99-
alpine-version: '3.12'
95+
php-version: [ '7.4', '8.0' ]
96+
alpine-version: [ '3.11', '3.12', '3.13', '3.14' ]
10097
max-parallel: 8
10198
fail-fast: false
10299
steps:

0 commit comments

Comments
 (0)