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

Add Linux CI/CD build (#1385)

Neptune0193a95cd9a6
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index 6aad2af54..9b4bedec2 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -148,6 +148,11 @@ jobs:
pre-build-args: ""
tauri-args: "--target x86_64-pc-windows-msvc"
os_type: "windows"
+ - platform: "ubuntu-22.04"
+ args: "--target x86_64-unknown-linux-gnu --features mkl"
+ target: x86_64-unknown-linux-gnu
+ tauri-args: "--target x86_64-unknown-linux-gnu"
+ os_type: "linux"
runs-on: ${{ matrix.platform }}
steps:
@@ -168,7 +173,6 @@ jobs:
with:
ref: ${{ github.event.inputs.commit_hash || github.ref }}
-
- name: Update version in Cargo.toml
if: github.event.inputs.commit_hash && github.event.inputs.version && matrix.platform != 'macos-latest'
shell: pwsh
@@ -288,6 +292,44 @@ jobs:
run: |
brew install ffmpeg
+ - name: Install dependencies
+ if: matrix.os_type == 'linux'
+ shell: bash
+ run: |
+ sudo apt update && sudo apt install -y \
+ g++ \
+ ffmpeg \
+ tesseract-ocr \
+ cmake \
+ libavformat-dev \
+ libavfilter-dev \
+ libavdevice-dev \
+ libssl-dev \
+ libtesseract-dev \
+ libxdo-dev \
+ libsdl2-dev \
+ libclang-dev \
+ libxtst-dev \
+ libx11-dev \
+ libxext-dev \
+ libxrandr-dev \
+ libxinerama-dev \
+ libxcursor-dev \
+ libxi-dev \
+ libgl1-mesa-dev \
+ libasound2-dev \
+ libpulse-dev \
+ curl \
+ pkg-config \
+ libsqlite3-dev \
+ libbz2-dev \
+ zlib1g-dev \
+ libonig-dev \
+ libayatana-appindicator3-dev \
+ libsamplerate-dev \
+ libwebrtc-audio-processing-dev
+ curl -fsSL https://bun.sh/install | bash
+
- name: Install frontend dependencies
working-directory: ./screenpipe-app-tauri
run: bun install