Skip to content

CpuidIterator: Better identifies the last sub-leaf #41

CpuidIterator: Better identifies the last sub-leaf

CpuidIterator: Better identifies the last sub-leaf #41

Workflow file for this run

on:
push:
branches: [ main, actions ]
pull_request:
branches: [ main ]
name: CI
env:
RUSTFLAGS: -D warnings
CARGO_TERM_COLOR: always
jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: Lint (clippy)
run: cargo clippy --all-features --all-targets
build-rustdoc:
name: Build documentation
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: Build rustdoc
run: cargo doc --all-features --workspace
build-test:
name: Build and Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
- os: windows-latest
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build
- name: Test
run: cargo test