Skip to content

github-actions ci to track binary sizes #4

github-actions ci to track binary sizes

github-actions ci to track binary sizes #4

Workflow file for this run

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: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}