Skip to content

Commit

Permalink
github-actions ci to track binary sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
gdamjan committed May 18, 2024
1 parent bb72644 commit f7323e2
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: ci

on:
push:
branches: [main]
pull_request:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo install cargo-binutils

- run: cargo build
- run: cargo size

- run: cargo build --example rtt
- run: cargo size --example rtt

- run: cargo build --example embassy
- run: cargo size --example embassy

- name: Annotate commit with clippy warnings
uses: giraffate/clippy-action@v1

0 comments on commit f7323e2

Please sign in to comment.