Skip to content

Commit

Permalink
frost: incorporate recent fixes; add into_positive_y() to redpallas (#68
Browse files Browse the repository at this point in the history
)

* expose dkg module

* fix dkg compiling issues

* incorporate frost repo fixes; add into_positive_y() for RedPallas

* don't use all features in MSRV test

* remove unneeded frost-rerandomized import in dev-dependencies

* bump frost-rerandomized rev

* update to frost-rerandomized 0.7.0

* commit lockfile; update CI test to match
  • Loading branch information
conradoplg authored Oct 3, 2023
1 parent b1bbad7 commit ac52400
Show file tree
Hide file tree
Showing 13 changed files with 1,878 additions and 120 deletions.
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

0 comments on commit ac52400

Please sign in to comment.