forked from ZcashFoundation/frost
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build and test each crate separately (ZcashFoundation#689)
* build and test each crate separately * frost-core: fix benchmark compilation
- Loading branch information
1 parent
57c0b7b
commit 8ce1522
Showing
2 changed files
with
9 additions
and
3 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 |
---|---|---|
|
@@ -38,15 +38,20 @@ jobs: | |
- uses: dtolnay/[email protected] | ||
- run: cargo build --all-features | ||
|
||
build_all_features: | ||
name: build with all features combinations | ||
test_all_features: | ||
name: test all features combinations | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
- uses: dtolnay/rust-toolchain@stable | ||
- run: cargo install cargo-all-features | ||
- run: cargo build-all-features | ||
# We check and then test because some test dependencies could help | ||
# a bugged build work, while a regular build would fail. | ||
- run: cargo check-all-features --release | ||
# Note that this also tests each crate separately, which also helps | ||
# catching some issues. | ||
- run: cargo test-all-features --release | ||
|
||
build_no_std: | ||
name: build with no_std | ||
|
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