Skip to content

Commit f7323e2

Browse files
committed
github-actions ci to track binary sizes
1 parent bb72644 commit f7323e2

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/ci.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: ci
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: dtolnay/rust-toolchain@stable
15+
- run: cargo install cargo-binutils
16+
17+
- run: cargo build
18+
- run: cargo size
19+
20+
- run: cargo build --example rtt
21+
- run: cargo size --example rtt
22+
23+
- run: cargo build --example embassy
24+
- run: cargo size --example embassy
25+
26+
- name: Annotate commit with clippy warnings
27+
uses: giraffate/clippy-action@v1

0 commit comments

Comments
 (0)