You've already forked apdu-dispatch
mirror of
https://github.com/trussed-dev/apdu-dispatch.git
synced 2026-03-11 16:36:07 -07:00
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.
41 lines
934 B
YAML
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
|