Skip to content

Commit

Permalink
CI Install deps
Browse files Browse the repository at this point in the history
  • Loading branch information
connorslade committed Nov 26, 2023
1 parent 85636ad commit c8f46f9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:

steps:
- uses: actions/checkout@v2

- name: Install Dependencies
if: runner.os == 'Linux'
run: sudo apt install libasound2-dev
- name: Build
run: cargo build
5 changes: 4 additions & 1 deletion src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ impl Midi {
}
};
println!("Connecting to port {}", input.port_name(&port)?);
input.connect(&port, "makey-midi output")?
input
.connect(&port, "makey-midi output")
.context("Error connecting to MIDI port")
.unwrap()
}
Midi::List => {
let input = MidiOutput::new("42synth input")?;
Expand Down

0 comments on commit c8f46f9

Please sign in to comment.