22 lines
859 B
YAML
22 lines
859 B
YAML
name: ci
|
|
on: [push, pull_request]
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix: { os: [ubuntu-22.04, windows-latest] }
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with: { path: kestrove-desktop }
|
|
- uses: actions/checkout@v4
|
|
with: { repository: ${{ github.repository_owner }}/kestrove-core, path: kestrove-core, token: ${{ secrets.CORE_READ_TOKEN }} }
|
|
- if: runner.os == 'Linux'
|
|
run: sudo apt-get update && sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libxdo-dev
|
|
- uses: dtolnay/rust-toolchain@stable
|
|
- uses: actions/setup-node@v4
|
|
with: { node-version: 22 }
|
|
- run: npm ci && npm run build
|
|
working-directory: kestrove-desktop
|
|
- run: cargo check --all-targets
|
|
working-directory: kestrove-desktop/src-tauri
|