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
41 lines
904 B
YAML
41 lines
904 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
|
|
cargo clippy --all-features --all-targets -- -Dwarnings
|
|
RUSTDOCFLAGS='-Dwarnings' cargo doc --all-features
|
|
cd fuzz
|
|
cargo fmt --check
|
|
cargo clippy --all-features --all-targets -- -Dwarnings
|