Skip to content

[chore] upgrade to bindgen 0.66 #24

[chore] upgrade to bindgen 0.66

[chore] upgrade to bindgen 0.66 #24

Workflow file for this run

name: ci-build
on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
switchtec_user_sys_build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: cache
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: checkout submodules
run: git submodule update --remote
- name: lint
run: cargo fmt --message-format human -- --check
- name: clippy
run: cargo clippy --no-deps -- -D warnings
- name: build
run: cargo build --verbose
- name: test
env:
RUST_LOG: info
run: RUST_MIN_STACK=7680000 cargo test --verbose
- name: document
env:
RUSTDOCFLAGS: "-Dwarnings"
run: cargo doc --lib