Skip to content

Commit

Permalink
apply morph changes
Browse files Browse the repository at this point in the history
  • Loading branch information
chengwenxi committed Sep 10, 2024
1 parent 3085f04 commit 0639b53
Show file tree
Hide file tree
Showing 47 changed files with 1,403 additions and 217 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,17 @@ jobs:
strategy:
fail-fast: false
matrix:
rust: ["stable", "beta", "nightly"]
flags: ["--no-default-features", "", "--all-features"]
rust: [ "stable", "beta", "nightly" ]
flags: [
"--no-default-features",
"",
"--features=\"morph\"",
"--features=\"morph, morph-poseidon-codehash\"",
"--features=\"all, morph\"",
"--features=\"all, morph, morph-poseidon-codehash\"",
"--features=\"optimism\"",
"--features=\"all, optimism\""
]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
Expand All @@ -38,7 +47,7 @@ jobs:
strategy:
fail-fast: false
matrix:
features: ["", "optimism,kzg-rs"]
features: [ "", "optimism,kzg-rs" ]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand All @@ -53,7 +62,7 @@ jobs:
strategy:
fail-fast: false
matrix:
features: ["", "serde", "std"]
features: [ "", "serde", "std" ]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand All @@ -66,9 +75,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo clippy --workspace --all-targets --all-features
- run: cargo clippy --workspace --all-targets --features all,morph
env:
RUSTFLAGS: -Dwarnings
- run: cargo clippy --workspace --all-targets --features all,optimism

docs:
name: docs
Expand All @@ -79,7 +89,7 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
components: rust-docs
- run: cargo doc --workspace --all-features --no-deps --document-private-items
- run: cargo doc --workspace --features all,morph --no-deps --document-private-items
env:
RUSTDOCFLAGS: "--cfg docsrs -D warnings"

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ethereum-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
timeout-minutes: 30
strategy:
matrix:
profile: [ethtests, release]
target: [i686-unknown-linux-gnu, x86_64-unknown-linux-gnu]
profile: [ ethtests, release ]
target: [ i686-unknown-linux-gnu, x86_64-unknown-linux-gnu ]
steps:
- name: Checkout sources
uses: actions/checkout@v4
Expand Down
Loading

0 comments on commit 0639b53

Please sign in to comment.