Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurunsoft committed Jun 10, 2024
1 parent 2fe16a8 commit 9649b1a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/php.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ RUN set -eux \
&& pecl install apcu \
&& docker-php-ext-enable apcu \
&& curl -sfL https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && chmod +x /usr/bin/composer \
&& 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 \
&& 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) || (./configure --enable-openssl \
--enable-sockets \
--enable-mysqlnd \
--enable-swoole-curl \
--enable-cares \
--enable-swoole-pgsql \
--with-swoole-odbc=unixODBC,/usr \
--enable-swoole-sqlite)) && cd - && docker-php-ext-enable swoole \
&& bash /tmp/script/swoole_postgresql.sh ${POSTGRESQL_VERSION} \
&& echo "zend_extension=opcache.so" >> /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,8 @@ jobs:
# MacOS Arm64 下需要下面的修复,否则无法编译成功
- name: Fix include
run: |
sudo ln -s $(brew --prefix pcre2)/include/pcre2.h /opt/homebrew/opt/pcre2/include/
echo | gcc -E -v -
sudo ln -s $(brew --prefix pcre2)/include/pcre2.h /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/
- name: Get Openssl Dir
id: opecssl-dir
run: echo "path=$(brew --prefix [email protected])" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 9649b1a

Please sign in to comment.