From 58a21a10bc9279208772db7c3a03ed0abcfd6e22 Mon Sep 17 00:00:00 2001 From: Isotr0py <2037008807@qq.com> Date: Thu, 10 Oct 2024 22:48:14 +0800 Subject: [PATCH] fix macos env var --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a04086e..2c4e4de 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -140,15 +140,15 @@ jobs: - name: Check dependencys run: | brew install jpeg-xl + export DEP_JXL_LIB=$(brew --prefix jpeg-xl)'/lib' + export DEP_BROTLI_LIB=$(brew --prefix brotli)'/lib' + export DEP_HWY_LIB=$(brew --prefix highway)'/lib' - name: Build wheels uses: PyO3/maturin-action@v1 env: RUST_BACKTRACE: 1 MACOSX_DEPLOYMENT_TARGET: 12.7 - DEP_JXL_LIB: $(brew --prefix jpeg-xl)'/lib' - DEP_BROTLI_LIB: $(brew --prefix brotli)'/lib' - DEP_HWY_LIB: $(brew --prefix highway)'/lib' with: target: ${{ matrix.platform.target }} args: --release --out dist --find-interpreter --features dynamic