-
Notifications
You must be signed in to change notification settings - Fork 395
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into mraszyk/pic
- Loading branch information
Showing
26 changed files
with
4,515 additions
and
284 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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
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 |
---|---|---|
@@ -0,0 +1,66 @@ | ||
name: rust-threshold-mock | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
paths: | ||
- rust/threshold-mock/** | ||
- .github/workflows/provision-darwin.sh | ||
- .github/workflows/provision-linux.sh | ||
- .github/workflows/rust-threshold-mock-example.yml | ||
- .ic-commit | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
rust-threshold-mock-darwin: | ||
runs-on: macos-15 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Provision Darwin | ||
run: bash .github/workflows/provision-darwin.sh | ||
- name: Install PocketIC server Darwin | ||
uses: dfinity/pocketic@main | ||
with: | ||
pocket-ic-server-version: "6.0.0" | ||
- name: Build threshold-mock Darwin | ||
run: | | ||
pushd rust/threshold-mock | ||
cargo build --target wasm32-unknown-unknown --release | ||
popd | ||
- name: Lint threshold-mock Darwin | ||
run: | | ||
pushd rust/threshold-mock | ||
cargo fmt --all -- --check && cargo clippy --all-targets --all-features -- -D warnings | ||
popd | ||
- name: Test threshold-mock Darwin | ||
run: | | ||
pushd rust/threshold-mock | ||
cargo test | ||
popd | ||
rust-threshold-mock-linux: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Provision Linux | ||
run: bash .github/workflows/provision-linux.sh | ||
- name: Install PocketIC server Linux | ||
uses: dfinity/pocketic@main | ||
with: | ||
pocket-ic-server-version: "6.0.0" | ||
- name: Build threshold-mock Linux | ||
run: | | ||
pushd rust/threshold-mock | ||
cargo build --target wasm32-unknown-unknown --release | ||
popd | ||
- name: Lint threshold-mock Linux | ||
run: | | ||
pushd rust/threshold-mock | ||
cargo fmt --all -- --check && cargo clippy --all-targets --all-features -- -D warnings | ||
popd | ||
- name: Test threshold-mock Linux | ||
run: | | ||
pushd rust/threshold-mock | ||
cargo test | ||
popd |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.