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
fix(ci): resolve i8mm build error on macOS aarch64 GitHub runners
Louis Beaumont9cfc4b310566
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.ymlindex 4a3981a57..aa6886332 100644--- a/.github/workflows/release-app.yml+++ b/.github/workflows/release-app.yml@@ -460,6 +460,12 @@ jobs:if [[ "${{ matrix.os_type }}" == "macos" ]]; thenexport PKG_CONFIG_PATH="/usr/local/opt/ffmpeg/lib/pkgconfig:$PKG_CONFIG_PATH"export PKG_CONFIG_ALLOW_CROSS=1+ # Fix i8mm build error on GitHub runners - target armv8.5-a which doesn't include i8mm+ # See: https://github.com/ggml-org/whisper.cpp/issues/3427+ if [[ "${{ matrix.target }}" == "aarch64-apple-darwin" ]]; then+ export CFLAGS="-march=armv8.5-a"+ export CXXFLAGS="-march=armv8.5-a"+ fificargo build --release -p screenpipe-server ${{ matrix.args }}@@ -554,6 +560,10 @@ jobs:APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}# https://tauri.app/v1/guides/distribution/sign-macosCI: true+ # Fix i8mm build error on macOS GitHub runners - target armv8.5-a which doesn't include i8mm+ # See: https://github.com/ggml-org/whisper.cpp/issues/3427+ CFLAGS: ${{ matrix.target == 'aarch64-apple-darwin' && '-march=armv8.5-a' || '' }}+ CXXFLAGS: ${{ matrix.target == 'aarch64-apple-darwin' && '-march=armv8.5-a' || '' }}# Optimize for build speed on WindowsCARGO_PROFILE_RELEASE_LTO: ${{ matrix.os_type == 'windows' && 'thin' || 'false' }}CARGO_PROFILE_RELEASE_OPT_LEVEL: ${{ matrix.os_type == 'windows' && '2' || '3' }}