File tree Expand file tree Collapse file tree 3 files changed +17
-5
lines changed Expand file tree Collapse file tree 3 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ ARG SWOOLE_VERSION
8
8
COPY script/ /tmp/script
9
9
10
10
RUN set -eux \
11
- && apt-get update && apt-get -y install procps libpq-dev unzip git libzip-dev libevent-dev libssl-dev libicu-dev libc-ares-dev libcurl4-openssl-dev unixodbc-dev libsqlite3-dev \
11
+ && apt-get update && apt-get -y install procps libpq-dev unzip git libzip-dev libevent-dev libssl-dev libicu-dev libc-ares-dev libcurl4-openssl-dev unixodbc-dev libsqlite3-dev libbrotli-dev \
12
12
&& docker-php-ext-install -j$(nproc) bcmath mysqli pdo_mysql pdo_pgsql pcntl sockets intl zip \
13
13
&& (php --ri redis || (pecl install redis && docker-php-ext-enable redis)) \
14
14
&& pecl install inotify \
@@ -18,6 +18,13 @@ RUN set -eux \
18
18
&& pecl install apcu \
19
19
&& docker-php-ext-enable apcu \
20
20
&& curl -sfL https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && chmod +x /usr/bin/composer \
21
- && curl -L -o swoole.tar.gz https://github.com/swoole/swoole-src/archive/${SWOOLE_VERSION}.tar.gz && mkdir -p swoole && tar -xzf swoole.tar.gz -C swoole --strip-components=1 && rm swoole.tar.gz && cd swoole && ((stat ./make.sh && ./make.sh) || (stat ./scripts/make.sh && ./scripts/make.sh)) && cd - && docker-php-ext-enable swoole \
21
+ && curl -L -o swoole.tar.gz https://github.com/swoole/swoole-src/archive/${SWOOLE_VERSION}.tar.gz && mkdir -p swoole && tar -xzf swoole.tar.gz -C swoole --strip-components=1 && rm swoole.tar.gz && cd swoole && ((stat ./make.sh && ./make.sh) || (phpize && ./configure --enable-openssl \
22
+ --enable-sockets \
23
+ --enable-mysqlnd \
24
+ --enable-swoole-curl \
25
+ --enable-cares \
26
+ --enable-swoole-pgsql \
27
+ --with-swoole-odbc=unixODBC,/usr \
28
+ --enable-swoole-sqlite && make -j install)) && cd - && docker-php-ext-enable swoole \
22
29
&& bash /tmp/script/swoole_postgresql.sh ${POSTGRESQL_VERSION} \
23
30
&& echo "zend_extension=opcache.so" >> /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini
Original file line number Diff line number Diff line change @@ -355,7 +355,8 @@ jobs:
355
355
# MacOS Arm64 下需要下面的修复,否则无法编译成功
356
356
- name : Fix include
357
357
run : |
358
- sudo ln -s $(brew --prefix pcre2)/include/pcre2.h /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/
358
+ sudo mkdir -p /usr/local/include
359
+ sudo ln -s $(brew --prefix pcre2)/include/pcre2.h /usr/local/include/
359
360
- name : Get Openssl Dir
360
361
id : opecssl-dir
361
362
run :
echo "path=$(brew --prefix [email protected] )" >> $GITHUB_OUTPUT
Original file line number Diff line number Diff line change 6
6
push :
7
7
paths :
8
8
- " .github/workflows/daily-test.yml"
9
+ - " .github/docker-compose.yml"
10
+ - " .github/php.dockerfile"
11
+ - " .github/actions/ci-prepare"
9
12
pull_request :
10
13
paths :
11
14
- " .github/workflows/daily-test.yml"
15
+ - " .github/docker-compose.yml"
16
+ - " .github/php.dockerfile"
17
+ - " .github/actions/ci-prepare"
12
18
13
19
jobs :
14
20
daily-test-3_0 :
33
39
steps :
34
40
- name : Checkout
35
41
uses : actions/checkout@v4
36
- with :
37
- ref : " 3.0"
38
42
- name : Cache dependencies
39
43
uses : actions/cache@v4
40
44
with :
You can’t perform that action at this time.
0 commit comments