Files
Robin Krahl 6994b0ae96 Extract app trait into apdu-app
Currently, all APDU applications depend on apdu-dispatch to implement
the App trait.  This means that they also need to be updated if the
dispatch implementation is changed.  This causes unnecessary releases
and maintenance work.  By introducing the apdu-app crate, we can change
the dispatch implementation without affecting the applications.
2024-06-05 13:25:02 +02:00

41 lines
934 B
YAML

name: ci
on:
pull_request:
push:
branches:
- dev
- main
env:
CARGO_INCREMENTAL: 0
jobs:
build-lpc55:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
steps:
- uses: actions/checkout@v1
- name: Install Rust dependencies
run: |
sudo apt update && sudo apt install build-essential -y
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- name: Test
run: |
cargo test --features std,log-all
- name: lint
run: |
cargo fmt --check --all
cargo clippy --workspace --all-features --all-targets -- -Dwarnings
RUSTDOCFLAGS='-Dwarnings' cargo doc --workspace --all-features
cd fuzz
cargo fmt --check
cargo clippy --all-features --all-targets -- -Dwarnings