Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

frost: incorporate recent fixes; add into_positive_y() to redpallas #68

Merged
merged 8 commits into from
Oct 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 14 additions & 30 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,46 +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
args: --all-features
- 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
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/target
**/*.rs.bk
Cargo.lock
*~
Loading
Loading