Skip to content

Commit

Permalink
fix: windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
louis030195 committed Nov 20, 2024
1 parent 2d00fe0 commit 28726fc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,9 @@ jobs:
export PKG_CONFIG_PATH="~/.local/lib/pkgconfig:$PKG_CONFIG_PATH"
export MKLROOT="/opt/intel/mkl"
fi
if [[ "${{ matrix.args }}" == "--target x86_64-pc-windows-msvc" ]]; then
export RUSTFLAGS="-C target-feature=+crt-static"
fi
cargo build --release -p screenpipe-server ${{ matrix.args }}
# Run pre build again to copy the CLI into app
Expand Down

0 comments on commit 28726fc

Please sign in to comment.