fix: apply pstates correctly when clocks settings are used #829
Workflow file for this run
This file contains 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: Rust | |
on: | |
pull_request: | |
branches: [master] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build-test: | |
if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }} | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Update repos | |
run: sudo apt update | |
- name: Install dependencies | |
run: sudo apt install -y libgtk-4-dev pkg-config libvulkan-dev libdrm-dev blueprint-compiler | |
- name: Build | |
run: cargo build | |
- name: Run tests | |
run: cargo test --verbose --no-default-features -p lact | |
check-format: | |
runs-on: ubuntu-24.04 | |
if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: install rustfmt | |
run: rustup component add rustfmt | |
- name: Check formatting | |
run: cargo fmt -- --check |