-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from phip1611/dev
bumped rustfft to v6.0.0 + improved CI + improved README (v0.5.1)
- Loading branch information
Showing
5 changed files
with
46 additions
and
11 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,23 @@ | ||
echo "checks that this builds on std+no_std + that all tests run + that all features compile" | ||
cargo build --all-targets | ||
cargo build --all-targets --no-default-features --features "rustfft-complex" | ||
cargo build --all-targets --no-default-features --features "microfft-complex" | ||
cargo build --all-targets --no-default-features --features "microfft-real" | ||
|
||
cargo test --all-targets | ||
cargo test --all-targets --no-default-features --features "rustfft-complex" | ||
cargo test --all-targets --no-default-features --features "microfft-complex" | ||
cargo test --all-targets --no-default-features --features "microfft-real" | ||
|
||
# test no_std | ||
rustup target add thumbv7em-none-eabihf | ||
# nope, thats BS: this crate needs STD | ||
# cargo check --target thumbv7em-none-eabihf --no-default-features --features "rustfft-complex" | ||
cargo check --target thumbv7em-none-eabihf --no-default-features --features "microfft-complex" | ||
cargo check --target thumbv7em-none-eabihf --no-default-features --features "microfft-real" | ||
|
||
# run examples | ||
cargo run --release --example mp3-samples | ||
cargo run --release --example mp3-samples --no-default-features --features "rustfft-complex" | ||
cargo run --release --example mp3-samples --no-default-features --features "microfft-complex" | ||
cargo run --release --example mp3-samples --no-default-features --features "microfft-real" |