Skip to content

Add utils for search fdt and find a node in fdt & Refactor to merge cursor type #8

Add utils for search fdt and find a node in fdt & Refactor to merge cursor type

Add utils for search fdt and find a node in fdt & Refactor to merge cursor type #8

Workflow file for this run

name: Cargo
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
# By default, RUSTFLAGS with “-D warnings” turns “asm_const” warnings into errors.
RUSTFLAGS:
jobs:
fmt:
name: Rustfmt all packages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt
- name: Rustfmt Check
uses: actions-rust-lang/rustfmt@v1
test:
name: Test
needs: fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly
- name: Run tests
run: cargo test