Files
bytechat-desktop/.gitea/workflows/compile.yaml
rattatwinko 2e8d39d205
All checks were successful
Build Tauri App (Linux + Windows exe) / build (push) Successful in 11m36s
Update .gitea/workflows/compile.yaml
2025-08-26 22:55:04 +00:00

68 lines
1.7 KiB
YAML

name: Build Tauri App (Linux + Windows exe)
on:
push:
branches: [ main ]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- name: Install Linux dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
mingw-w64 \
libssl-dev \
libgtk-3-dev \
libayatana-appindicator3-dev \
librsvg2-dev \
webkit2gtk-4.1 \
build-essential \
curl \
pkg-config \
xdg-utils
- name: Add Windows Rust target
run: rustup target add x86_64-pc-windows-gnu
- name: Install Tauri CLI
run: cargo install tauri-cli
- name: Build Linux packages (deb + rpm)
run: |
cd src-tauri
cargo tauri build
- name: Build Windows exe
run: |
cd src-tauri
cargo build --release --target x86_64-pc-windows-gnu
- name: Upload Linux packages
uses: actions/upload-artifact@v3
with:
name: tauri-linux
path: |
src-tauri/target/release/bytechat-desktop
src-tauri/target/release/bundle/deb/*.deb
src-tauri/target/release/bundle/rpm/*.rpm
- name: Upload Windows exe
uses: actions/upload-artifact@v3
with:
name: tauri-windows-exe
path: src-tauri/target/x86_64-pc-windows-gnu/release/bytechat-desktop.exe