From 6ed1ec5fa4f73533f94b367b31258bdfa4efb905 Mon Sep 17 00:00:00 2001 From: sy-records <52o@qq52o.cn> Date: Mon, 20 May 2024 13:20:25 +0800 Subject: [PATCH] fix --- .github/workflows/test.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 474e6b2..eba02f1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -92,11 +92,10 @@ jobs: tools: phpize ini-values: extension=swoole coverage: none - env: - SWOOLE_DARWIN_LIBS: pcre2 - name: Build Swoole run: | + export CPPFLAGS="$CPPFLAGS -I$(brew --prefix pcre2)/include -L$(brew --prefix pcre2)/lib" wget https://github.com/swoole/swoole-src/archive/${SWOOLE_VERSION}.tar.gz -O swoole.tar.gz mkdir -p swoole tar -xf swoole.tar.gz -C swoole --strip-components=1