Skip to content

Commit 9339cab

Browse files
authored
Merge pull request #228 from ethereum/ci_state_tests
ci: Run State Tests
2 parents f2fcd90 + 3f19383 commit 9339cab

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

circle.yml

+28
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,31 @@ jobs:
143143
echo $name
144144
ghr -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME -n "$name" $prerelease_flag $CIRCLE_TAG ~/package
145145
146+
state-tests:
147+
environment:
148+
TESTS_REV: develop
149+
ALETH_REV: 1.8.0
150+
docker:
151+
- image: cimg/base:stable
152+
steps:
153+
- attach_workspace:
154+
at: ~/package
155+
- run:
156+
name: "Unpack evmone"
157+
background: true
158+
command: tar xz < ~/package/evmone*.tar.gz
159+
- run:
160+
name: "Download Aleth"
161+
background: true
162+
command: curl -L https://github.com/ethereum/aleth/releases/download/v$ALETH_REV/aleth-$ALETH_REV-linux-x86_64.tar.gz | tar xz
163+
- run:
164+
name: "Download tests"
165+
command: git clone --depth=1 --single-branch --branch $TESTS_REV https://github.com/ethereum/tests
166+
- run:
167+
name: "Run State Tests"
168+
command: bin/testeth -t GeneralStateTests -- --testpath tests --vm lib/libevmone.so
169+
170+
146171
gcc-min:
147172
executor: linux-gcc-7
148173
steps:
@@ -254,6 +279,9 @@ workflows:
254279
ignore: /.*/
255280
tags:
256281
only: /^v[0-9].*/
282+
- state-tests:
283+
requires:
284+
- release-linux
257285
- gcc-min
258286
- gcc-latest-coverage
259287
- clang-latest-ubsan

0 commit comments

Comments
 (0)