Skip to content

Commit

Permalink
Add missing dep
Browse files Browse the repository at this point in the history
  • Loading branch information
aurexav committed Jul 12, 2024
1 parent 2967a38 commit c1a5a5b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: |
rustup show
sudo apt-get update
sudo apt-get install libasound2-dev
sudo apt-get install libasound2-dev libxdo-dev
- uses: Swatinem/rust-cache@v2
if: matrix.action != 'fmt'
with:
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ jobs:
runs-on: ${{ matrix.target.os }}
strategy:
matrix:
target:
[
target: [
{ name: aarch64-apple-darwin, os: macos-latest },
# {
# name: x86_64-pc-windows-msvc,
Expand All @@ -29,6 +28,11 @@ jobs:
uses: actions/checkout@v4
- name: Setup Rust toolchain
run: rustup target add ${{ matrix.target.name }}
- name: Setup build environment (Linux)
if: matrix.target.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install libasound2-dev libxdo-dev
- name: Build
run: cargo build --profile ci-release --locked --target ${{ matrix.target.name }}
- name: Compress
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ jobs:
uses: actions/checkout@v4
- name: Setup Rust toolchain
run: rustup target add ${{ matrix.target.name }}
- name: Setup build environment (Linux)
if: matrix.target.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install libasound2-dev libxdo-dev
- name: Build
run: cargo build --profile ci-release --locked --target ${{ matrix.target.name }}
- name: Compress
Expand Down

0 comments on commit c1a5a5b

Please sign in to comment.