fix(kvm): handle the pthread_t definition in musl #27
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 | |
permissions: read-all | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build_test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b | |
- name: Build | |
run: cargo build --verbose | |
- name: Format | |
run: cargo fmt --check | |
# TODO: some KVM related tests cannot run in github runners. | |
# - name: Run tests | |
# run: cargo test --verbose | |
- name: Clippy | |
run: cargo clippy |