Skip to content

Commit

Permalink
feat: Install system dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mjczz committed Dec 13, 2024
1 parent 3e54d0d commit 5ec4033
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,9 @@ jobs:

steps:
- uses: actions/checkout@v4

# 安装 ALSA 所需的依赖
- name: Install ALSA dependencies
run: sudo apt-get update && sudo apt-get install -y libasound2-dev

- name: Install system dependencies
run: sudo apt-get update && sudo apt-get install -y libudev-dev libasound2-dev pkg-config
- name: Build
run: cargo build --verbose

- name: Run tests
run: cargo test --verbose

0 comments on commit 5ec4033

Please sign in to comment.