-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit lockfile; update CI test to match
- Loading branch information
1 parent
3c4ed8f
commit 1293491
Showing
5 changed files
with
1,504 additions
and
31 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 |
---|---|---|
|
@@ -4,45 +4,30 @@ on: [push] | |
|
||
jobs: | ||
test_msrv: | ||
name: test on MSRV | ||
name: build on MSRV | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions-rs/[email protected] | ||
with: | ||
# When toolchain is not specified, it uses rust-toolchain, which is the MSRV | ||
override: true | ||
- uses: actions-rs/[email protected] | ||
with: | ||
command: test | ||
- uses: actions/[email protected] | ||
- uses: dtolnay/[email protected] | ||
# Don't use --all-features because `frost` has a higher MSRV and it's non-default. | ||
# Also don't run tests because some dev-dependencies have higher MSRVs. | ||
- run: cargo build | ||
test_nightly: | ||
name: test on nightly | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
# Because we use nightly features for building docs, | ||
# using --all-features will fail without nightly toolchain. | ||
- uses: actions-rs/[email protected] | ||
with: | ||
toolchain: nightly | ||
override: true | ||
- uses: actions-rs/[email protected] | ||
with: | ||
command: test | ||
args: --all-features | ||
- uses: actions/[email protected] | ||
- uses: dtolnay/rust-toolchain@nightly | ||
# Update dependencies since we commit the lockfile | ||
- run: cargo update --verbose | ||
- run: cargo test --all-features | ||
build_no_std: | ||
name: build with no_std | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions-rs/toolchain@v1.0.7 | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: stable | ||
override: true | ||
# This does not support std, so we use to test if no_std works | ||
target: thumbv6m-none-eabi | ||
- uses: actions-rs/[email protected] | ||
with: | ||
command: build | ||
# Disables std feature | ||
args: --no-default-features --target thumbv6m-none-eabi | ||
targets: thumbv6m-none-eabi | ||
- run: cargo build --no-default-features --target thumbv6m-none-eabi |
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,4 +1,3 @@ | ||
/target | ||
**/*.rs.bk | ||
Cargo.lock | ||
*~ |
Oops, something went wrong.