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
revert release app yml
Louis Beaumont68fc06adda55
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.ymlindex 5e07a9783..171b25de4 100644--- a/.github/workflows/release-app.yml+++ b/.github/workflows/release-app.yml@@ -37,7 +37,7 @@ jobs:fi- name: create draft release- uses: crabnebula-dev/[email protected]+ uses: crabnebula-dev/[email protected]with:command: release draft ${{ secrets.CN_APP_SLUG }} --framework tauriapi-key: ${{ secrets.CN_API_KEY }}@@ -60,7 +60,7 @@ jobs:- platform: "ubuntu-22.04" # Ubuntu x86_64args: "--features mkl" # TODO CUDAtauri-args: ""- - platform: windows-latest # Windows x86_64+ - platform: "windows-latest" # Windows x86_64args: "--target x86_64-pc-windows-msvc" # TODO CUDA --features mkl --features "openblas"pre-build-args: "" # --openblastauri-args: "--target x86_64-pc-windows-msvc"@@ -80,30 +80,21 @@ jobs:sed -i 's/^version = ".*"/version = "${{ github.event.inputs.version }}"/' screenpipe-app-tauri/src-tauri/Cargo.tomlfi- - name: Setup Bun- uses: oven-sh/setup-bun@v2+ - name: setup Bun+ uses: oven-sh/setup-bun@v1- - name: Setup Node- uses: actions/setup-node@v4- with:- node-version: 22-- - name: Install Rust- if: matrix.args == '--target x86_64-pc-windows-msvc' || matrix.platform == 'big-windows'- run: |- Invoke-WebRequest https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-gnu/rustup-init.exe -OutFile rustup-init.exe- .\rustup-init.exe -y+ - name: Rust cache+ uses: swatinem/rust-cache@v2- name: Set up Rust- uses: actions-rust-lang/setup-rust-toolchain@v1+ uses: actions-rs/toolchain@v1with:toolchain: stable+ profile: minimaloverride: truetarget: ${{ matrix.target }}- cache: true- rustflags: ""- - uses: actions/cache@v4+ - uses: actions/cache@v3with:path: |~/.cargo/registry/index/@@ -117,7 +108,7 @@ jobs:- name: Cache Homebrew packagesif: matrix.platform == 'macos-latest'- uses: actions/cache@v4+ uses: actions/cache@v3with:path: |~/Library/Caches/Homebrew@@ -141,8 +132,8 @@ jobs:- name: Install Linux dependenciesif: matrix.platform == 'ubuntu-22.04' || matrix.platform == 'big-linux'run: |- sudo apt update- sudo apt install -y libappindicator3-1 libappindicator3-dev libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf wget+ sudo apt-get update+ sudo apt-get install -y libappindicator3-1 libappindicator3-dev libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf wget- name: Install dependenciesif: matrix.platform == 'macos-latest'@@ -150,7 +141,7 @@ jobs:brew install ffmpeg pkg-config# - name: Install MKL- # if: matrix.args == '--target x86_64-pc-windows-msvc'+ # if: matrix.platform == 'windows-latest'# run: |# pip install mkl mkl-devel mkl-static@@ -170,24 +161,12 @@ jobs:bun install# - name: Setup tmate session # HACK- # if: matrix.args == '--target x86_64-pc-windows-msvc'+ # if: matrix.platform == 'windows-latest'# uses: mxschmitt/action-tmate@v3- - name: Install vcpkg- if: matrix.args == '--target x86_64-pc-windows-msvc' || matrix.platform == 'big-windows'- uses: lukka/run-vcpkg@v11- with:- vcpkgGitCommitId: "2a3138723698306f4261632c92dc782f586167e3"-- - name: Set up MSVC- if: matrix.args == '--target x86_64-pc-windows-msvc' || matrix.platform == 'big-windows'- uses: ilammy/msvc-dev-cmd@v1-- - name: Install LLVM and Clang- if: matrix.args == '--target x86_64-pc-windows-msvc' || matrix.platform == 'big-windows'- uses: KyleMayes/install-llvm-action@v2- with:- version: "10.0"+ - name: Install wget on Linux+ if: matrix.platform == 'ubuntu-22.04' || matrix.platform == 'big-linux'+ run: sudo apt-get install -y wget- name: Run pre_build.jsshell: bash@@ -199,8 +178,11 @@ jobs:- name: Build CLIshell: bash- env:- RUSTFLAGS: "-A warnings"+ # TODO: too slow+ # 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"@@ -220,6 +202,22 @@ jobs:bun ./scripts/pre_build.js ${{ matrix.pre-build-args }}working-directory: ./screenpipe-app-tauri+ - name: Install vcpkg+ if: matrix.platform == 'windows-latest' || matrix.platform == 'big-windows'+ uses: lukka/run-vcpkg@v11+ with:+ vcpkgGitCommitId: "7adc2e4d49e8d0efc07a369079faa6bc3dbb90f3"++ - name: Set up MSVC+ if: matrix.platform == 'windows-latest' || matrix.platform == 'big-windows'+ uses: ilammy/msvc-dev-cmd@v1++ - name: Install LLVM and Clang+ if: matrix.platform == 'windows-latest' || matrix.platform == 'big-windows'+ uses: KyleMayes/install-llvm-action@v2+ with:+ version: "10.0"+- name: Free Disk Space (Ubuntu)if: matrix.platform == 'ubuntu-22.04'uses: jlumbroso/free-disk-space@main@@ -227,7 +225,7 @@ jobs:# this might remove tools that are actually needed,# if set to "true" but frees about 6 GBtool-cache: false-+# all of these default to true, but feel free to set to# "false" if necessary for your workflowandroid: true@@ -258,12 +256,11 @@ jobs:PKG_CONFIG_PATH: ${{ matrix.platform == 'ubuntu-22.04' && '~/.local/lib/pkgconfig:$PKG_CONFIG_PATH' || '' }}MKLROOT: ${{ matrix.platform == 'ubuntu-22.04' && '/opt/intel/mkl' || '' }}# Optimize for build speed on Windows- CARGO_PROFILE_RELEASE_LTO: ${{ matrix.args == '--target x86_64-pc-windows-msvc' && 'thin' || matrix.platform == 'ubuntu-22.04' && 'true' || 'false' }}- CARGO_PROFILE_RELEASE_OPT_LEVEL: ${{ matrix.args == '--target x86_64-pc-windows-msvc' && '2' || matrix.platform == 'ubuntu-22.04' && 'z' || '3' }}- CARGO_PROFILE_RELEASE_CODEGEN_UNITS: ${{ matrix.args == '--target x86_64-pc-windows-msvc' && '16' || matrix.platform == 'ubuntu-22.04' && '1' || '16' }}+ CARGO_PROFILE_RELEASE_LTO: ${{ matrix.platform == 'windows-latest' && 'thin' || matrix.platform == 'ubuntu-22.04' && 'true' || 'false' }}+ CARGO_PROFILE_RELEASE_OPT_LEVEL: ${{ matrix.platform == 'windows-latest' && '2' || matrix.platform == 'ubuntu-22.04' && 'z' || '3' }}+ CARGO_PROFILE_RELEASE_CODEGEN_UNITS: ${{ matrix.platform == 'windows-latest' && '16' || matrix.platform == 'ubuntu-22.04' && '1' || '16' }}# Enable incremental compilation for Windows- CARGO_INCREMENTAL: ${{ matrix.args == '--target x86_64-pc-windows-msvc' && '1' || '0' }}-+ CARGO_INCREMENTAL: ${{ matrix.platform == 'windows-latest' && '1' || '0' }}RUSTFLAGS: "-A warnings"with:args: ${{ matrix.tauri-args }}@@ -271,7 +268,7 @@ jobs:tauriScript: bunx tauri -v- name: Upload Assets to CrabNebula Cloud- uses: crabnebula-dev/[email protected]+ uses: crabnebula-dev/[email protected]with:command: release upload ${{ secrets.CN_APP_SLUG }} --framework tauriapi-key: ${{ secrets.CN_API_KEY }}