11
11
12
12
version-bump :
13
13
name : ' Version Bump'
14
- runs-on : ubuntu-latest
14
+ runs-on : [self-hosted, linux, flyweight-ephemeral]
15
15
steps :
16
16
- name : ' Check out code'
17
17
uses : actions/checkout@v3
@@ -36,12 +36,14 @@ jobs:
36
36
run : git push origin HEAD:${GITHUB_HEAD_REF}
37
37
38
38
kevm-pyk-code-quality-checks :
39
- needs : version-bump
40
39
name : ' Code Quality Checks'
41
- runs-on : ubuntu-latest
40
+ runs-on : [self-hosted, linux, flyweight-ephemeral]
42
41
steps :
43
42
- name : ' Check out code'
44
43
uses : actions/checkout@v3
44
+ - uses : actions/setup-python@v4
45
+ with :
46
+ python-version : " 3.10"
45
47
- name : ' Install Poetry'
46
48
uses : Gr1N/setup-poetry@v8
47
49
- name : ' Run code quality checks'
@@ -52,13 +54,16 @@ jobs:
52
54
kevm-pyk-unit-tests :
53
55
needs : kevm-pyk-code-quality-checks
54
56
name : ' Unit Tests'
55
- runs-on : ubuntu-latest
57
+ runs-on : [self-hosted, linux, normal-ephemeral]
56
58
steps :
57
59
- name : ' Check out code'
58
60
uses : actions/checkout@v3
59
61
with :
60
62
submodules : true
61
63
fetch-depth : 0
64
+ - uses : actions/setup-python@v4
65
+ with :
66
+ python-version : " 3.10"
62
67
- name : ' Install Poetry'
63
68
uses : Gr1N/setup-poetry@v8
64
69
- name : ' Run unit tests'
@@ -68,29 +73,22 @@ jobs:
68
73
kevm-pyk-profile :
69
74
needs : kevm-pyk-code-quality-checks
70
75
name : ' Profiling'
71
- runs-on : [self-hosted, linux, normal]
72
- timeout-minutes : 15
76
+ runs-on : [self-hosted, linux, normal-ephemeral]
73
77
steps :
74
78
- name : ' Check out code'
75
79
uses : actions/checkout@v3
76
80
with :
77
81
submodules : recursive
78
82
fetch-depth : 0
79
- - name : ' Set up Docker '
80
- uses : ./.github/ actions/with-docker
83
+ - name : Setup Python
84
+ uses : actions/setup-python@v4
81
85
with :
82
- container-name : kevm-ci-profile-${{ github.sha }}
83
- - name : ' Build kevm-pyk'
84
- run : docker exec -u github-user kevm-ci-profile-${{ github.sha }} /bin/bash -c 'make poetry'
85
- - name : ' Build targets'
86
- run : docker exec -u github-user kevm-ci-profile-${{ github.sha }} /bin/bash -c 'CXX=clang++-14 poetry -C kevm-pyk run kevm-dist --verbose build -j`nproc` plugin foundry'
86
+ python-version : ' 3.10'
87
+ - name : ' Install Poetry'
88
+ uses : Gr1N/setup-poetry@v8
87
89
- name : ' Run profiling'
88
90
run : |
89
- docker exec -u github-user kevm-ci-profile-${{ github.sha }} /bin/bash -c 'make profile'
90
- - name : ' Tear down Docker'
91
- if : always()
92
- run : |
93
- docker stop --time=0 kevm-ci-profile-${{ github.sha }}
91
+ make -C kevm-pyk profile
94
92
95
93
test-concrete-execution :
96
94
name : ' Build and Test KEVM concrete execution'
@@ -110,7 +108,7 @@ jobs:
110
108
- name : ' Build kevm-pyk'
111
109
run : docker exec -u github-user kevm-ci-concrete-${{ github.sha }} /bin/bash -c 'make poetry'
112
110
- name : ' Build targets'
113
- run : docker exec -u github-user kevm-ci-concrete-${{ github.sha }} /bin/bash -c 'CXX=clang++-14 poetry -C kevm-pyk run kevm-dist --verbose build -j`nproc` plugin llvm haskell'
111
+ run : docker exec -u github-user kevm-ci-concrete-${{ github.sha }} /bin/bash -c 'CXX=clang++-14 poetry -C kevm-pyk run kdist --verbose build -j`nproc` evm-semantics. llvm evm-semantics. haskell'
114
112
- name : ' Test integration'
115
113
run : docker exec -u github-user kevm-ci-concrete-${{ github.sha }} /bin/bash -c 'make test-integration'
116
114
- name : ' Test conformance'
@@ -125,7 +123,7 @@ jobs:
125
123
test-prove :
126
124
name : ' Build and Test KEVM proofs'
127
125
needs : kevm-pyk-code-quality-checks
128
- runs-on : [self-hosted, linux, normal, fast]
126
+ runs-on : [self-hosted, linux, fast]
129
127
strategy :
130
128
fail-fast : false
131
129
matrix :
@@ -135,10 +133,10 @@ jobs:
135
133
timeout : 45
136
134
- test-suite : ' test-prove-pyk'
137
135
test-args :
138
- timeout : 120
136
+ timeout : 180
139
137
- test-suite : ' test-prove-pyk'
140
138
test-args : ' --use-booster'
141
- timeout : 90
139
+ timeout : 150
142
140
timeout-minutes : ${{ matrix.timeout }}
143
141
steps :
144
142
- name : ' Check out code'
@@ -152,50 +150,14 @@ jobs:
152
150
- name : ' Build kevm-pyk'
153
151
run : docker exec -u github-user kevm-ci-haskell-${{ matrix.test-suite }}-${{ github.sha }} /bin/bash -c 'make poetry'
154
152
- name : ' Build distribution'
155
- run : docker exec -u github-user kevm-ci-haskell-${{ matrix.test-suite }}-${{ github.sha }} /bin/bash -c 'CXX=clang++-14 poetry -C kevm-pyk run kevm-dist --verbose build -j`nproc` plugin haskell'
153
+ run : docker exec -u github-user kevm-ci-haskell-${{ matrix.test-suite }}-${{ github.sha }} /bin/bash -c 'CXX=clang++-14 poetry -C kevm-pyk run kdist --verbose build -j`nproc` evm-semantics. plugin evm-semantics. haskell'
156
154
- name : ' Prove Haskell'
157
- run : docker exec -u github-user kevm-ci-haskell-${{ matrix.test-suite }}-${{ github.sha }} /bin/bash -c "make ${{ matrix.test-suite }} PYTEST_ARGS='-vv ${{ matrix.test-args }}' PYTEST_PARALLEL=7 "
155
+ run : docker exec -u github-user kevm-ci-haskell-${{ matrix.test-suite }}-${{ github.sha }} /bin/bash -c "make ${{ matrix.test-suite }} PYTEST_ARGS='-vv ${{ matrix.test-args }}' PYTEST_PARALLEL=4 "
158
156
- name : ' Tear down Docker'
159
157
if : always()
160
158
run : |
161
159
docker stop --time=0 kevm-ci-haskell-${{ matrix.test-suite }}-${{ github.sha }}
162
160
163
- test-prove-foundry :
164
- name : ' Build and Test KEVM Foundry proofs'
165
- needs : kevm-pyk-code-quality-checks
166
- runs-on : [self-hosted, linux, normal, fast]
167
- strategy :
168
- fail-fast : false
169
- matrix :
170
- include :
171
- - test-suite : ' legacy'
172
- test-args :
173
- timeout : 180
174
- - test-suite : ' booster'
175
- test-args : ' --use-booster'
176
- timeout : 90
177
- timeout-minutes : ${{ matrix.timeout }}
178
- steps :
179
- - name : ' Check out code'
180
- uses : actions/checkout@v3
181
- with :
182
- submodules : recursive
183
- fetch-depth : 0
184
- - name : ' Set up Docker'
185
- uses : ./.github/actions/with-docker
186
- with :
187
- container-name : kevm-ci-foundry-${{ matrix.test-suite }}-${{ github.sha }}
188
- - name : ' Build kevm-pyk'
189
- run : docker exec -u github-user kevm-ci-foundry-${{ matrix.test-suite }}-${{ github.sha }} /bin/bash -c 'make poetry'
190
- - name : ' Build targets'
191
- run : docker exec -u github-user kevm-ci-foundry-${{ matrix.test-suite }}-${{ github.sha }} /bin/bash -c 'CXX=clang++-14 poetry -C kevm-pyk run kevm-dist --verbose build -j`nproc` plugin foundry'
192
- - name : ' Foundry Prove'
193
- run : docker exec -u github-user kevm-ci-foundry-${{ matrix.test-suite }}-${{ github.sha }} /bin/bash -c "make test-foundry-prove PYTEST_ARGS='-vv ${{ matrix.test-args }}'"
194
- - name : ' Tear down Docker'
195
- if : always()
196
- run : |
197
- docker stop --time=0 kevm-ci-foundry-${{ matrix.test-suite }}-${{ github.sha }}
198
-
199
161
nix :
200
162
name : ' Nix'
201
163
strategy :
0 commit comments