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
88COPY script/ /tmp/script
99
1010RUN 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 \
1212 && docker-php-ext-install -j$(nproc) bcmath mysqli pdo_mysql pdo_pgsql pcntl sockets intl zip \
1313 && (php --ri redis || (pecl install redis && docker-php-ext-enable redis)) \
1414 && pecl install inotify \
@@ -18,6 +18,13 @@ RUN set -eux \
1818 && pecl install apcu \
1919 && docker-php-ext-enable apcu \
2020 && 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 \
2229 && bash /tmp/script/swoole_postgresql.sh ${POSTGRESQL_VERSION} \
2330 && 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:
355355 # MacOS Arm64 下需要下面的修复,否则无法编译成功
356356 - name : Fix include
357357 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/
359360 - name : Get Openssl Dir
360361 id : opecssl-dir
361362 run :
echo "path=$(brew --prefix [email protected] )" >> $GITHUB_OUTPUT
Original file line number Diff line number Diff line change 66 push :
77 paths :
88 - " .github/workflows/daily-test.yml"
9+ - " .github/docker-compose.yml"
10+ - " .github/php.dockerfile"
11+ - " .github/actions/ci-prepare"
912 pull_request :
1013 paths :
1114 - " .github/workflows/daily-test.yml"
15+ - " .github/docker-compose.yml"
16+ - " .github/php.dockerfile"
17+ - " .github/actions/ci-prepare"
1218
1319jobs :
1420 daily-test-3_0 :
3339 steps :
3440 - name : Checkout
3541 uses : actions/checkout@v4
36- with :
37- ref : " 3.0"
3842 - name : Cache dependencies
3943 uses : actions/cache@v4
4044 with :
You can’t perform that action at this time.
0 commit comments