Skip to content

Commit b1f472b

Browse files
authored
Add makefile, bump deps, and a little debug line (#9)
* Add makefile, bump deps, and a little debug line * Keep it simple * Split jobs
1 parent e2a2cb8 commit b1f472b

File tree

6 files changed

+248
-141
lines changed

6 files changed

+248
-141
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
RUST_LOG=info
1+
RUST_LOG=debug
22
PIPEWIRE_LATENCY=128/48000
33
JACK_PROMISCUOUS_SERVER=pipewire
44
RECORDING_DIR=./recordings

.github/workflows/lint.yaml

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Lint & Clippy
1+
name: Lint & Test
22

33
on:
44
push:
@@ -8,9 +8,8 @@ on:
88

99
jobs:
1010
lint:
11-
name: Rust Linting
11+
name: Lint
1212
runs-on: ubuntu-latest
13-
1413
steps:
1514
- uses: actions/checkout@v4
1615

@@ -20,11 +19,20 @@ jobs:
2019
- name: Set up Rust
2120
uses: dtolnay/rust-toolchain@stable
2221

23-
- name: Check formatting
24-
run: cargo fmt --check
22+
- name: Lint
23+
run: make lint
24+
25+
test:
26+
name: Test
27+
runs-on: ubuntu-latest
28+
steps:
29+
- uses: actions/checkout@v4
30+
31+
- name: Install system dependencies
32+
run: sudo apt-get update && sudo apt-get install -y libjack-jackd2-dev pkg-config
2533

26-
- name: Run Clippy
27-
run: cargo clippy -- -D warnings
34+
- name: Set up Rust
35+
uses: dtolnay/rust-toolchain@stable
2836

29-
- name: Check compilation
30-
run: cargo check
37+
- name: Test
38+
run: make test

0 commit comments

Comments
 (0)