From e42532ec2aaef0d5503313d629acb0491ffd6a8c Mon Sep 17 00:00:00 2001 From: Louis Beaumont Date: Mon, 12 Aug 2024 09:08:09 +0200 Subject: [PATCH] fix: brew --- .github/workflows/release-cli.yml | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.yml index b41d72cfb1..1f53d44cdf 100644 --- a/.github/workflows/release-cli.yml +++ b/.github/workflows/release-cli.yml @@ -56,11 +56,10 @@ jobs: key: ${{ matrix.platform }}-cargo-${{ hashFiles('**/Cargo.lock') }} - name: Build with Metal feature - env: - RUSTFLAGS: "-C link-arg=-Wl,-rpath,@executable_path/../lib -C link-arg=-Wl,-rpath,@loader_path/../lib" run: | export PKG_CONFIG_PATH="/usr/local/opt/ffmpeg/lib/pkgconfig:$PKG_CONFIG_PATH" export PKG_CONFIG_ALLOW_CROSS=1 + export RUSTFLAGS="-C link-arg=-Wl,-rpath,@executable_path/../lib -C link-arg=-Wl,-rpath,@loader_path/../lib" cargo build --release --features metal --target ${{ matrix.target }} # get the current tag or take latest (in the case of a workflow dispatch) @@ -82,6 +81,7 @@ jobs: mkdir -p screenpipe-${{ env.VERSION }}-${{ matrix.target }}/bin mkdir -p screenpipe-${{ env.VERSION }}-${{ matrix.target }}/lib cp target/${{ matrix.target }}/release/screenpipe screenpipe-${{ env.VERSION }}-${{ matrix.target }}/bin/ + cp screenpipe-vision/lib/libscreenpipe.dylib screenpipe-${{ env.VERSION }}-${{ matrix.target }}/lib/libscreenpipe.dylib if [ "${{ matrix.target }}" = "x86_64-apple-darwin" ]; then cp screenpipe-vision/lib/libscreenpipe_x86_64.dylib screenpipe-${{ env.VERSION }}-${{ matrix.target }}/lib/libscreenpipe_x86_64.dylib elif [ "${{ matrix.target }}" = "aarch64-apple-darwin" ]; then diff --git a/Cargo.toml b/Cargo.toml index 7dd3360081..2db0d5da9d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ resolver = "2" [workspace.package] -version = "0.1.59" +version = "0.1.60" authors = ["louis030195 "] description = "" repository = "https://github.com/louis030195/screen-pipe"