Add pbft test simulated model #91
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
name: Cargo Build & Test | |
on: [push, pull_request] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build_and_test: | |
name: Build and test | |
runs-on: ubuntu-latest | |
timeout-minutes: 3 | |
strategy: | |
fail-fast: false | |
matrix: | |
toolchain: [stable, beta] | |
# toolchain: [stable, beta, nightly] | |
steps: | |
- uses: actions/checkout@v3 | |
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} | |
- run: cargo build --verbose --all-targets | |
- run: cargo test --verbose --lib | |
# loopback network seems not work | |
# - run: cargo run --verbose --release --bin workload-standalone -- unreplicated |