Skip to content

Commit

Permalink
Add Linux CI/CD build (#1385)
Browse files Browse the repository at this point in the history
* Add Linux CI/CD build

* Add MKL support

* Update deps

* Update for latest upstream
  • Loading branch information
Neptune650 authored Feb 20, 2025
1 parent 0e224e3 commit 0193a95
Showing 1 changed file with 43 additions and 1 deletion.
44 changes: 43 additions & 1 deletion .github/workflows/release-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0193a95

Please sign in to comment.