-
-
Notifications
You must be signed in to change notification settings - Fork 31
34 lines (30 loc) · 1.03 KB
/
crossterm-windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Crossterm (Windows)
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy
- uses: actions-rs/cargo@v1
with:
command: test
args: --no-fail-fast --no-default-features --features derive,serialize,tui,crossterm
- uses: actions-rs/cargo@v1
with:
command: test
args: --no-fail-fast --no-default-features --features derive,serialize,ratatui,crossterm
- name: Examples
run: cargo build --all-targets --examples
- name: Format
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy --lib --no-default-features --features derive,serialize,tui,crossterm -- -Dwarnings
- name: Clippy
run: cargo clippy --lib --no-default-features --features derive,serialize,ratatui,crossterm -- -Dwarnings