Build Windows in CI #548
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tauri Tests | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
branches: [main] | |
paths: | |
- "apps/desktop/**" | |
- ".github/workflows/tauri**" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
clippy-test: | |
runs-on: nixos | |
steps: | |
- name: Checkout code | |
uses: nschloe/action-cached-lfs-checkout@v1 | |
- name: Rustfmt | |
run: nix develop -c bash -c 'cargo --locked fmt -p bloop -- --check' | |
- name: Clippy | |
run: nix develop -c bash -c 'cargo --locked clippy -p bloop' | |
- name: Tests | |
run: nix develop -c bash -c 'cargo --locked test -p bloop --release' | |
- name: Sccache stats | |
run: nix develop -c bash -c 'sccache --show-stats' |