Skip to content

Commit 939ef88

Browse files
committed
temp ci
Signed-off-by: Ignacio Hagopian <[email protected]>
1 parent 3e8bae5 commit 939ef88

File tree

1 file changed

+50
-50
lines changed

1 file changed

+50
-50
lines changed

.github/workflows/block_replay.yml

+50-50
Original file line numberDiff line numberDiff line change
@@ -2,58 +2,58 @@ name: Block replay test
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [master, jsign/multiplefr]
66

77
jobs:
88
replay:
99
runs-on: self-hosted
1010
steps:
11-
- uses: actions/checkout@v2
12-
- name: Set up Go
13-
uses: actions/setup-go@v2
14-
with:
15-
go-version: 1.18
16-
17-
- name: Extract converted db
18-
run: |
19-
mkdir .ethereum
20-
tar xf /home/devops/verkle-test-dependencies/preimages_small.tar --strip-components=4 -C .ethereum
21-
22-
- name: Download geth from the proper repo
23-
run: git clone https://github.com/gballet/go-ethereum -b verkle/replay-change-with-tree-group-tryupdate geth
24-
25-
- name: Edit geth to use this repo
26-
run: |
27-
cd geth
28-
cp /home/devops/verkle-test-dependencies/precomp .
29-
go mod edit -replace=github.com/gballet/go-verkle=$PWD/..
30-
go mod edit -replace=github.com/crate-crypto/go-ipa=github.com/crate-crypto/go-ipa@`grep go-ipa ../go.mod | cut -d'-' -f 5`
31-
go mod download github.com/crate-crypto/go-ipa
32-
go mod tidy
33-
go build ./cmd/geth/...
34-
35-
- name: Run replay
36-
run: |
37-
cd geth
38-
./geth import --datadir=../.ethereum /home/devops/verkle-test-dependencies/next_blocks4
39-
40-
- name: Upload profiler file
41-
uses: actions/upload-artifact@v3
42-
with:
43-
name: cpu.out
44-
path: ./geth/cpu.out
45-
46-
- name: Generate profile diagram
47-
run: |
48-
cd geth
49-
go tool pprof -png cpu.out > profile001.png
50-
51-
- name: Upload profiler picture
52-
uses: actions/upload-artifact@v3
53-
with:
54-
name: profile.png
55-
path: ./geth/profile001.png
56-
57-
- name: Cleanup
58-
if: always()
59-
run: rm -rf geth .ethereum precomp
11+
- uses: actions/checkout@v2
12+
- name: Set up Go
13+
uses: actions/setup-go@v2
14+
with:
15+
go-version: 1.18
16+
17+
- name: Extract converted db
18+
run: |
19+
mkdir .ethereum
20+
tar xf /home/devops/verkle-test-dependencies/preimages_small.tar --strip-components=4 -C .ethereum
21+
22+
- name: Download geth from the proper repo
23+
run: git clone https://github.com/gballet/go-ethereum -b verkle/replay-change-with-tree-group-tryupdate geth
24+
25+
- name: Edit geth to use this repo
26+
run: |
27+
cd geth
28+
cp /home/devops/verkle-test-dependencies/precomp .
29+
go mod edit -replace=github.com/gballet/go-verkle=$PWD/..
30+
go mod edit -replace=github.com/crate-crypto/go-ipa=github.com/crate-crypto/go-ipa@`grep go-ipa ../go.mod | cut -d'-' -f 5`
31+
go mod download github.com/crate-crypto/go-ipa
32+
go mod tidy
33+
go build ./cmd/geth/...
34+
35+
- name: Run replay
36+
run: |
37+
cd geth
38+
./geth import --datadir=../.ethereum /home/devops/verkle-test-dependencies/next_blocks4
39+
40+
- name: Upload profiler file
41+
uses: actions/upload-artifact@v3
42+
with:
43+
name: cpu.out
44+
path: ./geth/cpu.out
45+
46+
- name: Generate profile diagram
47+
run: |
48+
cd geth
49+
go tool pprof -png cpu.out > profile001.png
50+
51+
- name: Upload profiler picture
52+
uses: actions/upload-artifact@v3
53+
with:
54+
name: profile.png
55+
path: ./geth/profile001.png
56+
57+
- name: Cleanup
58+
if: always()
59+
run: rm -rf geth .ethereum precomp

0 commit comments

Comments
 (0)