-
Notifications
You must be signed in to change notification settings - Fork 751
156 lines (130 loc) · 4.13 KB
/
build.yml
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
name: Build
on:
push:
branches: [master]
tags: ['*']
pull_request:
types: [opened, reopened, synchronize]
workflow_dispatch:
env:
cwd: ${{github.workspace}}
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-build
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16]
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
working-directory: ${{github.workspace}}
- uses: actions/cache@v3
with:
path: ${{github.workspace}}
key: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-build
- run: echo ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-build
block:
needs: build
uses: ./.github/workflows/block-build.yml
with:
cache-key: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-build
blockchain:
needs: build
uses: ./.github/workflows/browser.yml
with:
cache-key: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-build
browser:
needs: build
uses: ./.github/workflows/blockchain-build.yml
with:
cache-key: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-build
client:
needs: build
uses: ./.github/workflows/client-build.yml
with:
cache-key: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-build
common:
needs: build
uses: ./.github/workflows/common-build.yml
with:
cache-key: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-build
devp2p:
needs: build
uses: ./.github/workflows/devp2p-build.yml
with:
cache-key: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-build
ethash:
needs: build
uses: ./.github/workflows/ethash-build.yml
with:
cache-key: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-build
evm:
needs: build
uses: ./.github/workflows/evm-build.yml
with:
cache-key: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-build
examples:
needs: build
uses: ./.github/workflows/examples.yml
with:
cache-key: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-build
genesis:
needs: build
uses: ./.github/workflows/genesis-build.yml
with:
cache-key: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-build
rlp:
needs: build
uses: ./.github/workflows/rlp-build.yml
with:
cache-key: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-build
statemanager:
needs: build
uses: ./.github/workflows/statemanager-build.yml
with:
cache-key: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-build
trie:
needs: build
uses: ./.github/workflows/trie-build.yml
with:
cache-key: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-build
tx:
needs: build
uses: ./.github/workflows/tx-build.yml
with:
cache-key: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-build
util:
needs: build
uses: ./.github/workflows/block-build.yml
with:
cache-key: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-build
verkle:
needs: build
uses: ./.github/workflows/verkle-build.yml
with:
cache-key: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-build
vm-build:
needs: build
uses: ./.github/workflows/vm-build.yml
with:
cache-key: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-build
vm-pr:
needs: build
uses: ./.github/workflows/vm-pr.yml
with:
cache-key: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-build
wallet:
needs: build
uses: ./.github/workflows/wallet-build.yml
with:
cache-key: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-build