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