This repository has been archived by the owner on Nov 29, 2023. It is now read-only.
forked from NethermindEth/nethermind
-
Notifications
You must be signed in to change notification settings - Fork 1
152 lines (150 loc) · 5.49 KB
/
no-cc-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
name: Standard Build
on: push
jobs:
neth-tests:
name: Nethermind Tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS]
steps:
- uses: actions/checkout@v2
- name: Unshallow fetching
run: git fetch --unshallow --progress --prune origin +refs/heads/*:refs/remotes/origin/*
- name: Updating submodules
run: git submodule update --init src/Dirichlet src/rocksdb-sharp
- name: Installing Linux packages
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install libsnappy-dev libc6-dev libc6
- name: Installing macOS packages
if: matrix.os == 'macOS'
run: brew install gmp && brew install snappy && brew install lz4
- name: Nethermind.Abi.Test
run: |
dotnet test -c Release src/Nethermind/Nethermind.Abi.Test;
- name: Nethermind.AuRa.Test
run: |
dotnet test -c Release src/Nethermind/Nethermind.AuRa.Test
# - name: Nethermind.BeaconNode.Test
# run: |
# dotnet test -c Release src/Nethermind/Nethermind.BeaconNode.Test
- name: Nethermind.Blockchain.Test
run: |
dotnet test -c Release src/Nethermind/Nethermind.Blockchain.Test
- name: Nethermind.Bls.Test
run: |
dotnet test -c Release src/Nethermind/Nethermind.Bls.Test
- name: Nethermind.Clique.Test
run: |
dotnet test -c Release src/Nethermind/Nethermind.Clique.Test
- name: Nethermind.Config.Test
run: |
dotnet test -c Release src/Nethermind/Nethermind.Config.Test
- name: Nethermind.Core.Test
run: |
dotnet test -c Release src/Nethermind/Nethermind.Core.Test
- name: Nethermind.Evm.Test
run: |
dotnet test -c Release src/Nethermind/Nethermind.Evm.Test
- name: Nethermind.Facade.Test
run: |
dotnet test -c Release src/Nethermind/Nethermind.Facade.Test
- name: Nethermind.Logging.NLog.Test
run: |
dotnet test -c Release src/Nethermind/Nethermind.Logging.NLog.Test
- name: Nethermind.JsonRpc.Test
run: |
dotnet test -c Release src/Nethermind/Nethermind.JsonRpc.Test
- name: Nethermind.Mining.Test
run: |
dotnet test -c Release src/Nethermind/Nethermind.Mining.Test
- name: Nethermind.Network.Test
run: |
dotnet test -c Release src/Nethermind/Nethermind.Network.Test
- name: Nethermind.Secp256k1.Test.Linux
run: |
dotnet test -c Release src/Nethermind/Nethermind.Secp256k1.Test
- name: Nethermind.Runner.Test
run: |
dotnet test -c Release src/Nethermind/Nethermind.Runner.Test
- name: Nethermind.Ssz.Test
run: |
dotnet test -c Release src/Nethermind/Nethermind.Ssz.Test
- name: Nethermind.Core2.Test
run: |
dotnet test -c Release src/Nethermind/Nethermind.Core2.Test
- name: Nethermind.Store.Test
run: |
dotnet test -c Release src/Nethermind/Nethermind.Store.Test
- name: Nethermind.Wallet.Test
run: |
dotnet test -c Release src/Nethermind/Nethermind.Wallet.Test
- name: Nethermind.DataMarketplace.Test
run: |
dotnet test -c Release src/Nethermind/Nethermind.DataMarketplace.Test
- name: Nethermind.DataMarketplace.Consumers.Test
run: |
dotnet test -c Release src/Nethermind/Nethermind.DataMarketplace.Consumers.Test
eth-tests:
name: Ethereum Tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS]
steps:
- uses: actions/checkout@v2
- name: Unshallow fetching
run: git fetch --unshallow
- name: Updating submodules
run: git -c submodule."src/eth2.0-spec-tests".update=none submodule update --init
- name: Ethereum.Basic.Test
run: |
dotnet test -c Release src/Nethermind/Ethereum.Basic.Test
- name: Ethereum.Blockchain.Block.Test
run: |
dotnet test -c Release src/Nethermind/Ethereum.Blockchain.Block.Test
- name: Ethereum.Blockchain.Test
run: |
dotnet test -c Release src/Nethermind/Ethereum.Blockchain.Test
- name: Ethereum.Difficulty.Test
run: |
dotnet test -c Release src/Nethermind/Ethereum.Difficulty.Test
- name: Ethereum.HexPrefix.Test
run: |
dotnet test -c Release src/Nethermind/Ethereum.HexPrefix.Test
- name: Ethereum.KeyAddress.Test
run: |
dotnet test -c Release src/Nethermind/Ethereum.KeyAddress.Test
- name: Ethereum.PoW.Test
run: |
dotnet test -c Release src/Nethermind/Ethereum.Rlp.Test
- name: Ethereum.Rlp.Test
run: |
dotnet test -c Release src/Nethermind/Ethereum.Basic.Test
- name: Ethereum.Transaction.Test
run: |
dotnet test -c Release src/Nethermind/Ethereum.Transaction.Test
- name: Ethereum.Transition.Test
run: |
dotnet test -c Release src/Nethermind/Ethereum.Transition.Test
- name: Ethereum.Trie.Test
run: |
dotnet test -c Release src/Nethermind/Ethereum.Trie.Test
# eth2-tests:
# name: Ethereum 2.0 Tests
# runs-on: ${{ matrix.os }}
# strategy:
# matrix:
# os: [ubuntu-latest, windows-latest, macOS]
# steps:
# - uses: actions/checkout@v2-beta
# with:
# lfs: true
# - name: Updating submodules
# run: git -c submodule."src/tests".update=none submodule update --init
# - name: Ethereum.Bls.Test
# run: |
# dotnet test -c Release src/Nethermind/Ethereum2.Bls.Test
# - name: Ethereum.Ssz.Test
# run: |
# dotnet test -c Release src/Nethermind/Ethereum2.Ssz.Test