-
Notifications
You must be signed in to change notification settings - Fork 1
42 lines (32 loc) 路 877 Bytes
/
Copy pathbuild.yaml
File metadata and controls
42 lines (32 loc) 路 877 Bytes
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
35
36
37
38
39
40
41
42
name: Build
on:
push:
pull_request:
permissions:
contents: read
jobs:
build:
name: Build (Windows)
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Rust cache
uses: Swatinem/rust-cache@v2
- name: Format check
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Build (release)
run: cargo build --release --all-features --verbose
- name: Upload binaries
uses: actions/upload-artifact@v4
with:
name: binaries-windows
path: |
target/x86_64-pc-windows-msvc/release/*.exe
if-no-files-found: error