Support multiple underlying uint256 libraries #1001
Workflow file for this run
This file contains hidden or 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: Rust | |
| on: | |
| push: | |
| branches: master | |
| pull_request: | |
| branches: master | |
| merge_group: | |
| branches: master | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| submodules: recursive | |
| - name: Rustfmt | |
| run: cargo fmt --all -- --check | |
| - name: clippy | |
| run: cargo clippy --workspace -- -D warnings | |
| - name: clippy no-std | |
| run: cargo clippy --workspace --no-default-features --all-targets -- -D warnings | |
| - name: clippy with normal features | |
| run: cargo clippy --workspace --features std,scale,serde --all-targets -- -D warnings | |
| - name: clippy with ruint | |
| run: cargo clippy -p evm -p evm-mainnet -p evm-interpreter -p evm-precompile -p evm-feature-evm64 --features ruint -- -D warnings | |
| - name: clippy with ethnum | |
| run: cargo clippy -p evm -p evm-mainnet -p evm-interpreter -p evm-precompile -p evm-feature-evm64 --features ethnum -- -D warnings | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Build | |
| run: cargo build --verbose | |
| - name: Build no-std | |
| run: cargo build --no-default-features | |
| - name: Build all-features | |
| run: cargo build --workspace --features std,scale,serde | |
| - name: Build ruint | |
| run: cargo build -p evm -p evm-mainnet -p evm-interpreter -p evm-precompile -p evm-feature-evm64 --features ruint | |
| - name: Build ethnum | |
| run: cargo build -p evm -p evm-mainnet -p evm-interpreter -p evm-precompile -p evm-feature-evm64 --features ethnum | |
| semver: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Install cargo-semver-checks | |
| run: cargo install cargo-semver-checks --locked | |
| - name: SemVer evm-interpreter | |
| run: cargo semver-checks --default-features -p evm-interpreter | |
| - name: SemVer evm | |
| run: cargo semver-checks --default-features -p evm | |
| - name: SemVer evm-precompile | |
| run: cargo semver-checks --default-features -p evm-precompile | |
| - name: SemVer evm-mainnet | |
| run: cargo semver-checks --default-features -p evm-mainnet | |
| tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| submodules: recursive | |
| - name: Run tests | |
| run: cargo test --all --release --verbose |