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 322cb59
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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 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: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 322cb59

Please sign in to comment.