lib: add support for extraction from intel_pmt sysfs #141
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
env: | |
CARGO_TERM_COLOR: always | |
RUSTFLAGS: -Dwarnings | |
jobs: | |
test_lib_linux: | |
name: Build and test library (Linux) | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./lib | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Dependencies | |
run: | | |
rustup component add rustfmt clippy | |
- run: cargo fmt --check | |
- run: cargo clippy --all-features | |
- run: cargo test --all-features | |
test_lib_windows: | |
name: Build and test library (Windows) | |
runs-on: windows-latest | |
defaults: | |
run: | |
working-directory: ./lib | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Dependencies | |
run: | | |
rustup component add rustfmt clippy | |
- run: cargo fmt --check | |
- run: cargo clippy --all-features | |
- run: cargo test --all-features | |
build_app_linux: | |
name: Build Linux application | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./app | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Dependencies | |
run: | | |
rustup component add rustfmt clippy | |
- run: cargo fmt --check | |
- run: cargo clippy | |
build_app_windows: | |
name: Build Windows application | |
runs-on: windows-latest | |
defaults: | |
run: | |
working-directory: ./app | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Dependencies | |
run: | | |
rustup component add rustfmt clippy | |
- run: cargo fmt --check | |
- run: cargo clippy | |
build_efi: | |
name: Build EFI application | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./efi | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Dependencies | |
run: | | |
rustup component add rustfmt clippy | |
- run: cargo fmt --check | |
- run: cargo clippy |