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

chore: tweak ci

Louis Beaumont1cbe1ba6285b
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index e8a2b20dc..6393d2007 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -24,11 +24,11 @@ jobs:
args: "--target aarch64-apple-darwin --features metal -v"
- platform: "macos-latest" # for Intel based macs.
args: "--target x86_64-apple-darwin --features metal -v"
- - platform: "ubuntu-24.04" # Ubuntu x86_64
- args: "" # TODO CUDA
- - platform: "windows-latest" # Windows x86_64
- args: '--target x86_64-pc-windows-msvc --features "openblas"' # TODO CUDA?
- pre-build-args: "--openblas"
+ # - platform: "ubuntu-24.04" # Ubuntu x86_64 # TODO focus on mac atm
+ # args: "" # TODO CUDA
+ # - platform: "windows-latest" # Windows x86_64
+ # args: '--target x86_64-pc-windows-msvc --features "openblas"' # TODO CUDA?
+ # pre-build-args: "--openblas"
runs-on: ${{ matrix.platform }}
steps:
@@ -60,10 +60,15 @@ jobs:
examples/apps/screenpipe-app-tauri/src-tauri/ffmpeg
key: ${{ matrix.platform }}-${{ matrix.args }}-pre-build
- # Run pre build
- - name: Run pre_build.js on ${{ matrix.platform }}
- run: bun ./scripts/pre_build.js ${{ matrix.pre-build-args }}
- working-directory: ./examples/apps/screenpipe-app-tauri
+ - uses: actions/cache@v3
+ with:
+ path: |
+ ~/.cargo/bin/
+ ~/.cargo/registry/index/
+ ~/.cargo/registry/cache/
+ ~/.cargo/git/db/
+ target/
+ key: ${{ matrix.platform }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install Linux dependencies
if: matrix.platform == 'ubuntu-24.04'
@@ -71,6 +76,15 @@ jobs:
sudo apt-get update
sudo apt-get install -y libappindicator3-1 libappindicator3-dev
+ - name: Build CLI
+ run: |
+ cargo build --release ${{ matrix.args }}
+
+ # Run pre build
+ - name: Run pre_build.js on ${{ matrix.platform }}
+ run: bun ./scripts/pre_build.js ${{ matrix.pre-build-args }}
+ working-directory: ./examples/apps/screenpipe-app-tauri
+
- name: Build
uses: tauri-apps/tauri-action@v0
env: