Skip to content

Commit

Permalink
Initial commit of mtrack.
Browse files Browse the repository at this point in the history
This commit introduces mtrack, a multitrack player meant for live performance
use.
  • Loading branch information
Michael Wilson authored and mdwn committed Mar 26, 2024
0 parents commit 22f819d
Show file tree
Hide file tree
Showing 58 changed files with 6,908 additions and 0 deletions.
56 changes: 56 additions & 0 deletions .github/workflows/mtrack.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: mtrack
on: [push, pull_request]

jobs:
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Update apt
run: sudo apt update
- name: Install alsa
run: sudo apt-get install -y libasound2-dev
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: Swatinem/rust-cache@v2
- name: Run clippy
run: cargo clippy --all --all-features

rustfmt-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Update apt
run: sudo apt update
- name: Install alsa
run: sudo apt-get install -y libasound2-dev
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- uses: Swatinem/rust-cache@v2
- name: Run rustfmt
run: cargo fmt --all -- --check

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Update apt
run: sudo apt update
- name: Install alsa
run: sudo apt-get install -y libasound2-dev
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Test mtrack
run: cargo test --all --verbose

licensure:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Install licensure
run: cargo install licensure
- name: Check for licenses
run: licensure --check -p
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
target
.vscode
29 changes: 29 additions & 0 deletions .licensure.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
change_in_place: true
excludes:
- \.gitignore
- .*lock
- \.git/.*
- \.licensure\.yml
- README.*
- LICENSE.*
- .*\.(md|rst|txt)
- Cargo.toml
- .*\.yaml
- .*\.wav
- .*\.mid
licenses:
- files: any
ident: GPL-3.0
authors:
- name: Michael Wilson
email: mike@mdwn.dev
auto_template: true

comments:
- columns: 80
extensions:
- rs
commenter:
type: line
comment_char: "//"
trailing_lines: 0
Loading

0 comments on commit 22f819d

Please sign in to comment.