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 b4ab049
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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 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 }}

0 comments on commit b4ab049

Please sign in to comment.