# Runs the full quality gate (`cargo xtask ci`) on macOS, Windows and Linux # for every push and pull request. name: ci on: push: pull_request: permissions: contents: read concurrency: group: ci-${{ github.ref }} cancel-in-progress: true env: CARGO_TERM_COLOR: always CARGO_INCREMENTAL: "0" jobs: ci: name: ci (${{ matrix.os }}) strategy: fail-fast: false matrix: os: [ubuntu-24.04, macos-15, windows-2025] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v5 - name: Linux system packages (Tauri, xcap) if: runner.os == 'Linux' run: | sudo apt-get update sudo apt-get install -y --no-install-recommends \ libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf \ libxcb1-dev libxcb-randr0-dev libxrandr-dev libdbus-1-dev \ libpipewire-0.3-dev libspa-0.2-dev libwayland-dev libegl-dev libgbm-dev \ clang libclang-dev pkg-config - uses: dtolnay/rust-toolchain@stable with: components: clippy, rustfmt - uses: Swatinem/rust-cache@v2 - uses: taiki-e/install-action@v2 with: tool: cargo-deny - uses: pnpm/action-setup@v4 with: package_json_file: ui/package.json - uses: actions/setup-node@v5 with: node-version: 22 cache: pnpm cache-dependency-path: ui/pnpm-lock.yaml - name: Quality gate run: cargo xtask ci