-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#86 --------- Co-authored-by: Elie Génard <[email protected]> Co-authored-by: Spencer C. Imbleau <[email protected]> Co-authored-by: Robert Brewitz <[email protected]>
- Loading branch information
1 parent
53c3373
commit ae710fe
Showing
35 changed files
with
324 additions
and
319 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,72 +5,78 @@ jobs: | |
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Setup | Checkout | ||
uses: actions/checkout@v4 | ||
- name: Setup | Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup | Ubuntu dependencies | ||
run: sudo apt install libasound2-dev libudev-dev pkg-config | ||
- name: Setup | Ubuntu dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install --no-install-recommends libasound2-dev libudev-dev | ||
- name: Setup | Toolchain | ||
uses: dtolnay/rust-toolchain@stable | ||
with: | ||
components: clippy,rustfmt | ||
- name: Setup | Toolchain | ||
uses: dtolnay/rust-toolchain@stable | ||
with: | ||
components: clippy,rustfmt | ||
|
||
- name: Rust Cache | ||
uses: Swatinem/rust-cache@v2 | ||
- name: Rust Cache | ||
uses: Swatinem/rust-cache@v2 | ||
|
||
- name: Build | Clippy | ||
run: cargo clippy -- -D warnings | ||
- name: Build | Clippy | ||
run: cargo clippy -- -D warnings | ||
|
||
- name: Build | Rustfmt | ||
run: cargo fmt -- --check | ||
- name: Build | Rustfmt | ||
run: cargo fmt -- --check | ||
|
||
check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Setup | Checkout | ||
uses: actions/checkout@v4 | ||
- name: Setup | Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup | Ubuntu dependencies | ||
run: sudo apt install libasound2-dev libudev-dev pkg-config | ||
- name: Setup | Ubuntu dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install --no-install-recommends libasound2-dev libudev-dev | ||
- name: Setup | Rust | ||
uses: dtolnay/rust-toolchain@stable | ||
with: | ||
targets: wasm32-unknown-unknown | ||
- name: Setup | Rust | ||
uses: dtolnay/rust-toolchain@stable | ||
with: | ||
targets: wasm32-unknown-unknown | ||
|
||
- name: Rust Cache | ||
uses: Swatinem/rust-cache@v2 | ||
- name: Rust Cache | ||
uses: Swatinem/rust-cache@v2 | ||
|
||
- name: Build | Check (native) | ||
run: cargo check | ||
- name: Build | Check (native) | ||
run: cargo check | ||
|
||
- name: Build | Check (wasm) | ||
run: cargo check --target wasm32-unknown-unknown | ||
- name: Build | Check (wasm) | ||
run: cargo check --target wasm32-unknown-unknown | ||
|
||
test: | ||
needs: [check] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Setup | Checkout | ||
uses: actions/checkout@v4 | ||
- name: Setup | Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup | Ubuntu dependencies | ||
run: sudo apt install libasound2-dev libudev-dev pkg-config | ||
- name: Setup | Ubuntu dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install --no-install-recommends libasound2-dev libudev-dev | ||
- name: Setup | Rust | ||
uses: dtolnay/rust-toolchain@stable | ||
with: | ||
targets: wasm32-unknown-unknown | ||
- name: Setup | Rust | ||
uses: dtolnay/rust-toolchain@stable | ||
with: | ||
targets: wasm32-unknown-unknown | ||
|
||
- name: Setup | wasm-pack | ||
uses: jetli/[email protected] | ||
- name: Setup | wasm-pack | ||
uses: jetli/[email protected] | ||
|
||
- name: Rust Cache | ||
uses: Swatinem/[email protected] | ||
- name: Rust Cache | ||
uses: Swatinem/[email protected] | ||
|
||
- name: Build | Test (native) | ||
run: cargo test | ||
- name: Build | Test (native) | ||
run: cargo test | ||
|
||
- name: Build | Test (wasm) | ||
run: wasm-pack test --node | ||
- name: Build | Test (wasm) | ||
run: wasm-pack test --node |
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.