-
Notifications
You must be signed in to change notification settings - Fork 51
42 lines (31 loc) · 1.02 KB
/
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
35
36
37
38
39
40
41
42
name: Windows builds
on:
push:
branches: [master]
pull_request:
branches: [master]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
# selecting a toolchain either by action or manual `rustup` calls should happen
# before the plugin, as it uses the current rustc version as its cache key
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: clippy
override: true
- uses: Swatinem/rust-cache@v1
- name: Install sccache
run: if (Test-Path -Path ~\.cargo\bin\sccache.exe -PathType Leaf) {echo "Sccache is already installed"} else { cargo install sccache -f }
- name: Install fleet
run: cargo install --path . fleet-rs -f
- name: Run app using fleet
run: fleet build -- --bin fleet
- name: Install cargo bloat
run: cargo install cargo-bloat
- name: Run bloat analysis
run: fleet bloat