-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add WT-FROST to the worker gadget (#711)
- Loading branch information
Showing
34 changed files
with
1,479 additions
and
357 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ env: | |
|
||
jobs: | ||
harness: | ||
name: Harness | ||
name: Tests | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Cancel Previous Runs | ||
|
@@ -23,14 +23,6 @@ jobs: | |
- name: Checkout Code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Configure sccache | ||
run: | | ||
echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV | ||
echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV | ||
- name: Run sccache-cache | ||
uses: mozilla-actions/[email protected] | ||
|
||
- name: Restore Cache | ||
if: always() | ||
uses: actions/cache/restore@v3 | ||
|
@@ -44,10 +36,10 @@ jobs: | |
- name: Install toolchain | ||
uses: dtolnay/rust-toolchain@stable | ||
with: | ||
toolchain: nightly | ||
toolchain: stable | ||
|
||
- name: Install Protobuf | ||
run: sudo apt-get install protobuf-compiler | ||
- name: Install Protobuf and LLVM | ||
run: sudo apt-get install protobuf-compiler llvm libclang-dev | ||
|
||
- name: t2n3 && 1 proposal per session | ||
run: cargo run --package dkg-test-orchestrator --features=debug-tracing -- --tmp /tmp --threshold 2 --n 3 --bind 127.0.0.1:7777 --n-tests 10 -p 1 | ||
|
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,4 @@ | ||
name: integration tests | ||
name: Integration Tests | ||
|
||
on: | ||
push: | ||
|
@@ -14,7 +14,7 @@ jobs: | |
# dkg-substrate integration tests | ||
local_chain: | ||
name: Local Chain Tests | ||
runs-on: ubuntu-latest | ||
runs-on: macos-latest | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
@@ -24,14 +24,6 @@ jobs: | |
- name: Checkout Code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Configure sccache | ||
run: | | ||
echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV | ||
echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV | ||
- name: Run sccache-cache | ||
uses: mozilla-actions/[email protected] | ||
|
||
- name: Restore Cache | ||
if: always() | ||
uses: actions/cache/restore@v3 | ||
|
@@ -45,13 +37,13 @@ jobs: | |
- name: Install toolchain | ||
uses: dtolnay/rust-toolchain@stable | ||
with: | ||
toolchain: nightly | ||
toolchain: stable | ||
|
||
- name: Install Protobuf | ||
run: sudo apt-get install protobuf-compiler | ||
- name: Install Protobuf and LLVM | ||
run: brew install protobuf llvm | ||
|
||
- name: Install cargo make | ||
run: cargo install --force cargo-make | ||
run: cargo install cargo-make | ||
|
||
- name: Build Binary | ||
run: cargo make build-test | ||
|
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
Oops, something went wrong.