File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Windows Build
2+
3+ on :
4+ workflow_dispatch : {}
5+
6+ env :
7+ CARGO_TERM_COLOR : always
8+ RUST_BACKTRACE : 1
9+
10+ permissions :
11+ contents : read
12+
13+ jobs :
14+ windows-build :
15+ runs-on : windows-latest
16+ steps :
17+ - uses : actions/checkout@v4
18+ - name : Setup Rust toolchain
19+ uses : dtolnay/rust-toolchain@stable
20+ - name : Setup Rust cache
21+ uses : Swatinem/rust-cache@v2
22+ - name : System info
23+ run : |
24+ echo "=== Architecture ==="
25+ systeminfo | findstr /B /C:"OS Name" /C:"OS Version" /C:"System Type"
26+ echo "=== Toolchain ==="
27+ rustc --version
28+ cargo --version
29+ cl /? 2>&1 | findstr /C:"Version" || echo "MSVC not in PATH"
30+ - name : Fetch
31+ run : cargo fetch
32+ - name : Build
33+ run : cargo build --release --verbose
34+ - name : Run tests
35+ run : cargo test --release --verbose
36+ - name : Run fmt check
37+ run : cargo fmt --all -- --check
You can’t perform that action at this time.
0 commit comments