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

fix: build and test

Louis Beaumont1a5838ebc121
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index 084143482..2afd9ae3a 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -154,6 +154,10 @@ jobs:
export PKG_CONFIG_ALLOW_CROSS=1
export RUSTFLAGS="-C link-arg=-Wl,-rpath,@executable_path/../Frameworks -C link-arg=-Wl,-rpath,@loader_path/../Frameworks -C link-arg=-Wl,-install_name,@rpath/libscreenpipe.dylib"
export V8_FLAGS="--max-old-space-size=8192" # https://github.com/denoland/deno_core/issues/916
+ elif [[ "${{ matrix.platform }}" == "ubuntu-22.04" ]]; then
+ export RUSTFLAGS="-C target-cpu=native"
+ elif [[ "${{ matrix.platform }}" == "windows-latest" ]]; then
+ export RUSTFLAGS="-C target-cpu=native"
fi
cargo build --release ${{ matrix.args }}