Skip to content

Commit c47942c

Browse files
committed
Initial commit
0 parents  commit c47942c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+17565
-0
lines changed

.cargo/config.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[build]
2+
rustflags = [
3+
"--cfg", "tokio_unstable",
4+
]
5+
6+
[net]
7+
git-fetch-with-cli = true

.github/workflows/ci.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- name: Install rustc and clippy nightly
18+
uses: dtolnay/rust-toolchain@stable
19+
with:
20+
toolchain: nightly-2024-07-03 # this has to match rust-toolchain.toml
21+
components: cargo, rustc, clippy, rustfmt
22+
- name: Setup just
23+
run: cargo install just
24+
- name: Setup rust dependency caching
25+
uses: Swatinem/rust-cache@v2
26+
- name: Unit Tests
27+
run: just unit-tests
28+
timeout-minutes: 5
29+
- name: Build Cmd
30+
run: just BUILDTYPE=release build-cmd
31+
timeout-minutes: 10
32+
- name: "Network Test: Bottleneck"
33+
timeout-minutes: 5
34+
run: just BUILDTYPE=release test-bottleneck
35+
- name: "Network Test: Split"
36+
timeout-minutes: 5
37+
run: just BUILDTYPE=release test-split
38+
- name: "Integration Test: Ethereum"
39+
timeout-minutes: 30
40+
run: just BUILDTYPE=release test-ethereum
41+
- name: "Integration Test: Practical BFT"
42+
timeout-minutes: 20
43+
run: just BUILDTYPE=release test-pbft
44+
- name: "Lint checks"
45+
run: just lint-cmd
46+
- name: "Formatting checks"
47+
run: cargo fmt --check

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
target
2+
wasm-target
3+
/build
4+
/pkg
5+
/out
6+
simba-trace.folded
7+
*.csv
8+
*.eps
9+
*.pdf
10+
plot.svg

0 commit comments

Comments
 (0)