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
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
make default build faster, but optimise in ci
Louis Beaumont053451e995c3
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.ymlindex a5cead391..7d7aa0244 100644--- a/.github/workflows/release-app.yml+++ b/.github/workflows/release-app.yml@@ -183,6 +183,10 @@ jobs:- name: Build CLIshell: bash+ env:+ CARGO_PROFILE_RELEASE_LTO: "true"+ CARGO_PROFILE_RELEASE_OPT_LEVEL: "z"+ CARGO_PROFILE_RELEASE_CODEGEN_UNITS: "1"run: |if [[ "${{ matrix.platform }}" == "macos-latest" ]]; thenexport PKG_CONFIG_PATH="/usr/local/opt/ffmpeg/lib/pkgconfig:$PKG_CONFIG_PATH"@@ -232,6 +236,10 @@ jobs:APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}# https://tauri.app/v1/guides/distribution/sign-macosCI: true+ # optimize for release+ CARGO_PROFILE_RELEASE_LTO: true+ CARGO_PROFILE_RELEASE_OPT_LEVEL: z+ CARGO_PROFILE_RELEASE_CODEGEN_UNITS: 1with:args: ${{ matrix.tauri-args }}projectPath: "./screenpipe-app-tauri"diff --git a/Cargo.toml b/Cargo.tomlindex ac1c44685..b938f7e31 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -48,9 +48,3 @@ git = "https://github.com/microsoft/vcpkg"rev = "2023.04.15"dynamic = true-[profile.release]-lto = true--[profile.dev-release]-inherits = "release"-lto = falsediff --git a/release-app.yml b/release-app.ymlnew file mode 100644index 000000000..243af67fb--- /dev/null+++ b/release-app.yml@@ -0,0 +1,10 @@+name: Build+uses: tauri-apps/tauri-action@v0+env:+ CARGO_PROFILE_RELEASE_LTO: true+ CARGO_PROFILE_RELEASE_OPT_LEVEL: z+ CARGO_PROFILE_RELEASE_CODEGEN_UNITS: 1+with:+ args: ${{ matrix.tauri-args }}+ projectPath: "./screenpipe-app-tauri"+ tauriScript: bunx tauri -vdiff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.tomlindex 3c611b965..c936c4e1a 100644--- a/screenpipe-app-tauri/src-tauri/Cargo.toml+++ b/screenpipe-app-tauri/src-tauri/Cargo.toml@@ -1,6 +1,6 @@[package]name = "screenpipe-app"-version = "0.6.4"+version = "0.6.5"description = ""authors = ["you"]license = ""