Move write_voices out of VoicePool to write module #117
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- 'master' | |
pull_request: | |
name: Continuous integration | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install alsa | |
shell: bash | |
run: sudo apt install libasound2-dev | |
- run: cargo build --workspace | |
build-sf3: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install alsa | |
shell: bash | |
run: sudo apt install libasound2-dev | |
- run: cargo build --workspace --features sf3 | |
build-i16-out: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install alsa | |
shell: bash | |
run: sudo apt install libasound2-dev | |
- run: cargo build --workspace --features i16-out | |
test: | |
name: Test Suite | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install alsa | |
shell: bash | |
run: sudo apt install libasound2-dev | |
- run: cargo test --workspace | |
fmt: | |
name: Rustfmt | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: cargo fmt --all -- --check | |
clippy: | |
name: Clippy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install alsa | |
shell: bash | |
run: sudo apt install libasound2-dev | |
- run: cargo clippy --workspace -- -D warnings |