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