Skip to content

Commit b80936b

Browse files
Copilotjgarzik
andcommitted
Add Windows build workflow with manual trigger
Co-authored-by: jgarzik <[email protected]>
1 parent 829d0f6 commit b80936b

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Windows Build
2+
3+
on:
4+
workflow_dispatch: {}
5+
6+
env:
7+
CARGO_TERM_COLOR: always
8+
RUST_BACKTRACE: 1
9+
10+
jobs:
11+
windows-build:
12+
runs-on: windows-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: System info
16+
run: |
17+
echo "=== Architecture ==="
18+
systeminfo | findstr /B /C:"OS Name" /C:"OS Version" /C:"System Type"
19+
echo "=== Toolchain ==="
20+
rustc --version
21+
cargo --version
22+
- name: Fetch
23+
run: cargo fetch
24+
- name: Build
25+
run: cargo build --release --verbose
26+
- name: Run tests
27+
run: cargo test --release --verbose
28+
- name: Run fmt check
29+
run: cargo fmt --all -- --check

0 commit comments

Comments
 (0)