This repository was archived by the owner on Jun 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
122 lines (109 loc) · 3.08 KB
/
eth2fuzz.yml
File metadata and controls
122 lines (109 loc) · 3.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
name: Eth2fuzz
on:
push:
branches:
- master
paths:
- 'eth2fuzz/**'
pull_request:
paths:
- 'eth2fuzz/**'
# Run this once per day to be sure there is no breaking change
# due to client updates
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 0 * * *'
jobs:
# Check code style quickly by running `rustfmt` over all code
rustfmt:
name: Check Rust fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt
- name: Run cargo fmt
run: cd eth2fuzz && cargo fmt --all -- --check
# Check clippy
clippy:
name: Check clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy
- name: Run cargo clippy
run: cd eth2fuzz && cargo clippy
# Build only eth2fuzz tool
build:
name: Building eth2fuzz cli tool
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- name: Submodule update
run: git submodule update --init
- name: Build
run: cd eth2fuzz && make -f eth2fuzz.mk build
# Try to compile the lighthouse dockerfile
build-docker-lighthouse:
name: Building docker lighthouse
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build Docker
run: cd eth2fuzz && make lighthouse
- name: Run target
run: cd eth2fuzz && make test-lighthouse
# Try to compile the lodestar dockerfile
build-docker-lodestar:
name: Building docker lodestar
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build Docker
run: cd eth2fuzz && make lodestar
- name: Run target
run: cd eth2fuzz && make test-lodestar
# Try to compile the nimbus dockerfile
build-docker-nimbus:
name: Building docker nimbus
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build Docker
run: cd eth2fuzz && make nimbus
- name: Run target
run: cd eth2fuzz && make test-nimbus
# Try to compile the prysm dockerfile
build-docker-prysm:
name: Building docker prysm
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build Docker
run: cd eth2fuzz && make prysm
- name: Run target
run: cd eth2fuzz && make test-prysm
# Try to compile the teku dockerfile
build-docker-teku:
name: Building docker teku
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build Docker
run: cd eth2fuzz && make teku
- name: Run target
run: cd eth2fuzz && make test-teku