Ferrell Synthetic Intelligence
Upload desktop build artifacts from CI
b04ee1b
Raw
History Blame Contribute Delete
1.09 kB
name: AIDE Desktop Build
on:
workflow_dispatch:
push:
tags: ['v*']
jobs:
desktop:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-22.04
target: x86_64-unknown-linux-gnu
- os: macos-14
target: aarch64-apple-darwin
- os: windows-2022
target: x86_64-pc-windows-msvc
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }}
- run: npm ci
- if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
- run: npm run desktop:build
- uses: actions/upload-artifact@v4
if: success()
with:
name: aide-desktop-${{ matrix.os }}-${{ matrix.target }}
path: desktop/target/release/bundle/**
if-no-files-found: error