Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

try to fix build

Louis Beaumont73bbf4eecb06
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index e54ba0e27..53d5ede5a 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -268,6 +268,7 @@ jobs:
fi
if [[ "${{ matrix.args }}" == "--target x86_64-pc-windows-msvc" ]]; then
export RUSTFLAGS="-C target-feature=+crt-static"
+ export KNF_STATIC_CRT="1"
fi
cargo build --release -p screenpipe-server ${{ matrix.args }}
@@ -335,6 +336,7 @@ jobs:
CARGO_PROFILE_RELEASE_INCREMENTAL: ${{ matrix.args == '--target x86_64-pc-windows-msvc' && 'false' || 'true' }}
RUSTFLAGS: ${{ matrix.args == '--target x86_64-pc-windows-msvc' && '-C target-feature=+crt-static -C link-arg=/LTCG' || '' }}
VCPKG_STATIC_LINKAGE: "true"
+ KNF_STATIC_CRT: ${{ matrix.args == '--target x86_64-pc-windows-msvc' && '1' || '' }}
with:
args: ${{ matrix.tauri-args }}
projectPath: "./screenpipe-app-tauri"