Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Run execution-spec-tests #737

Merged
merged 1 commit into from
Nov 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 19 additions & 10 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,15 @@ commands:
working_directory: ~/tests
command: git submodule update --init --recursive --depth=1 --progress

download_execution_spec_tests:
steps:
- run:
name: "Download execution-spec-tests"
working_directory: ~/spec-tests
command: |
curl -L https://github.com/ethereum/execution-spec-tests/releases/download/v1.0.6/fixtures_develop.tar.gz | tar -xz
ls -l

build:
description: "Build"
steps:
Expand Down Expand Up @@ -453,7 +462,7 @@ jobs:
branch: evmc-v11.0.0-alpha.1
commit: evmc-v11.0.0-alpha.1
- download_execution_tests:
rev: v12.4
rev: v13
- run:
name: "Silkworm-driven blockchain tests (Advanced)"
working_directory: ~/build
Expand All @@ -474,9 +483,17 @@ jobs:
BUILD_TYPE: Coverage
CMAKE_OPTIONS: -DCMAKE_CXX_FLAGS=-Og
steps:
- download_execution_spec_tests
- build
- run:
name: "Execution spec tests"
working_directory: ~/build
command: >
EVMONE_PRECOMPILES_STUB=~/project/test/state/precompiles_stub.json
bin/evmone-blockchaintest ~/spec-tests/fixtures

- download_execution_tests:
rev: v12.4
rev: v13
- run:
name: "State tests"
working_directory: ~/build
Expand All @@ -485,14 +502,6 @@ jobs:
bin/evmone-statetest
~/tests/GeneralStateTests
~/tests/LegacyTests/Constantinople/GeneralStateTests
~/tests/EIPTests/StateTests/stEIP1153-transientStorage
- run:
name: "Blockchain tests (Pyspecs)"
working_directory: ~/build
command: >
EVMONE_PRECOMPILES_STUB=~/project/test/state/precompiles_stub.json
bin/evmone-blockchaintest
~/tests/BlockchainTests/Pyspecs
- run:
name: "Blockchain tests (GeneralStateTests)"
working_directory: ~/build
Expand Down