From 0b6be46ee150a7d96de438db90a464e559a040b8 Mon Sep 17 00:00:00 2001 From: Yurun Date: Mon, 6 May 2024 19:53:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B5=8B=E8=AF=95=20(#696)?= =?UTF-8?q?=20(#697)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a6d6f1ac3..8957390af 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -310,6 +310,10 @@ jobs: uses: shogo82148/actions-setup-redis@v1 with: redis-version: "6.x" + # MacOS Arm64 下需要下面的修复,否则无法编译成功 + - name: Fix include + run: | + 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