Skip to content

Commit 9b1cefa

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

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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: actions-rs/toolchain@v1
15+
16+
- run: cargo build
17+
- run: cargo size
18+
19+
- run: cargo build --example rtt
20+
- run: cargo size --example rtt
21+
22+
- run: cargo build --example embassy
23+
- run: cargo size --example embassy
24+
25+
- name: Annotate commit with clippy warnings
26+
uses: actions-rs/clippy-check@v1
27+
with:
28+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)