diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1bece66a4..279278134 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -352,9 +352,10 @@ jobs: uses: shogo82148/actions-setup-redis@v1 with: redis-version: "6.x" - - name: Brew + # MacOS Arm64 下需要下面的修复,否则无法编译成功 + - name: Fix include run: | - brew install pcre + 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 openssl@1.1)" >> $GITHUB_OUTPUT