Skip to content

Commit

Permalink
Replace submodules with packages (#4374)
Browse files Browse the repository at this point in the history
  • Loading branch information
rubo authored Aug 18, 2022
1 parent e803c05 commit d310489
Show file tree
Hide file tree
Showing 284 changed files with 4,444 additions and 9,764 deletions.
53 changes: 0 additions & 53 deletions .github/workflows/build-rocksdb-libs.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/run-codeql-code-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
fetch-depth: 2
- name: Updating submodules
run: git submodule update --init src/int256 src/rocksdb-sharp src/Dirichlet src/tests src/Math.Gmp.Native
run: git submodule update --init src/int256 src/Dirichlet src/tests src/Math.Gmp.Native
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-discord-announcement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: CURL Discord API with announcement
shell: bash
run: |
CHANGELOG=$(curl -s https://github.com/gitapi/repos/nethermindeth/nethermind/releases | jq '.[0].body' | grep -Po '(?<=\\n\\r\\n)(.*?)(?=\##)')
CHANGELOG=$(curl -s https://github.com/gitapi/repos/nethermindeth/nethermind/releases | jq '.[0].body' | grep -Po '(?<=## )(.*?)(?=\##)')
read VERSION LINK < <(echo $(curl -s 'https://github.com/gitapi/repos/nethermindeth/nethermind/releases' | jq -r '.[0].name, .[0].html_url'))
MESSAGE="**New Nethermind release version: ${VERSION}**\n\n${CHANGELOG}<${LINK}>"
curl -s -H "Content-Type: application/json" -d '{"username": "Nethermind", "content": "'"$MESSAGE"'"}' $WEBHOOK_URL > /dev/null 2>&1
30 changes: 13 additions & 17 deletions .github/workflows/run-nethermind-tests.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: '[RUN] Nethermind/Ethereum Tests'

concurrency:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true

on:
on:
push:
branches:
- master
pull_request:
workflow_dispatch:


jobs:
jobs:
neth-tests:
name: Running Nethermind Tests 1
runs-on: ubuntu-latest
Expand All @@ -30,7 +30,7 @@ jobs:
sudo apt-get install libsnappy-dev libc6-dev libc6
- name: Nethermind.Blockchain.Test
run: |
dotnet test -c Release src/Nethermind/Nethermind.Blockchain.Test
dotnet test -c Release src/Nethermind/Nethermind.Blockchain.Test
- name: Nethermind.Abi.Test
run: |
dotnet test -c Release src/Nethermind/Nethermind.Abi.Test;
Expand Down Expand Up @@ -92,10 +92,7 @@ jobs:
- name: Nethermind.Logging.NLog.Test
run: |
dotnet test -c Release src/Nethermind/Nethermind.Logging.NLog.Test
- name: MathGmp.Native
run: |
dotnet test -c Release src/Math.Gmp.Native/MathGmp.Native.UnitTests
neth-tests3:
name: Running Nethermind Tests 3
runs-on: ubuntu-latest
Expand Down Expand Up @@ -137,7 +134,7 @@ jobs:
dotnet test -c Release src/Nethermind/Nethermind.Merge.AuRa.Test
- name: Nethermind.Mev.Test
run: |
dotnet test -c Release src/Nethermind/Nethermind.Mev.Test
dotnet test -c Release src/Nethermind/Nethermind.Mev.Test
- name: Nethermind.Specs.Test
run: |
dotnet test -c Release src/Nethermind/Nethermind.Specs.Test
Expand Down Expand Up @@ -181,13 +178,13 @@ jobs:
sudo apt-get install libsnappy-dev libc6-dev libc6
- name: Nethermind.TxPool.Test
run: |
dotnet test -c Release src/Nethermind/Nethermind.TxPool.Test
dotnet test -c Release src/Nethermind/Nethermind.TxPool.Test
- name: Nethermind.Trie.Test
run: |
dotnet test -c Release src/Nethermind/Nethermind.Trie.Test
dotnet test -c Release src/Nethermind/Nethermind.Trie.Test
- name: Nethermind.Sockets.Test
run: |
dotnet test -c Release src/Nethermind/Nethermind.Sockets.Test
dotnet test -c Release src/Nethermind/Nethermind.Sockets.Test
- name: Nethermind.Wallet.Test
run: |
dotnet test -c Release src/Nethermind/Nethermind.Wallet.Test
Expand Down Expand Up @@ -224,13 +221,13 @@ jobs:
dotnet test -c Release src/Nethermind/Nethermind.BeaconNode.Peering.Test
- name: Nethermind.BeaconNode.Test
run: |
dotnet test -c Release src/Nethermind/Nethermind.BeaconNode.Test
dotnet test -c Release src/Nethermind/Nethermind.BeaconNode.Test
- name: Nethermind.Core2.Configuration.Test
run: |
dotnet test -c Release src/Nethermind/Nethermind.Core2.Configuration.Test
- name: Nethermind.Core2.Test
run: |
dotnet test -c Release src/Nethermind/Nethermind.Core2.Test
dotnet test -c Release src/Nethermind/Nethermind.Core2.Test
- name: Nethermind.Ssz.Test
run: |
dotnet test -c Release src/Nethermind/Nethermind.Ssz.Test
Expand Down Expand Up @@ -292,7 +289,7 @@ jobs:
- name: Ethereum.VM.Test
run: |
dotnet test -c Release src/Nethermind/Ethereum.VM.Test
eth-tests3:
name: Running Ethereum Tests 3
runs-on: ubuntu-latest
Expand All @@ -309,7 +306,7 @@ jobs:
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
dotnet test -c Release src/Nethermind/Ethereum.Blockchain.Block.Test
- name: Ethereum.Abi.Test
run: |
dotnet test -c Release src/Nethermind/Ethereum.Abi.Test
Expand All @@ -334,4 +331,3 @@ jobs:
- name: Ethereum.Transition.Test
run: |
dotnet test -c Release src/Nethermind/Ethereum.Transition.Test
3 changes: 1 addition & 2 deletions .github/workflows/run-vault-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
dotnet-version: '6.0.x'
- name: Updating submodules
run: git submodule update --init src/Dirichlet src/int256 src/rocksdb-sharp src/Math.Gmp.Native
run: git submodule update --init src/Dirichlet src/int256 src/Math.Gmp.Native
- name: Installing Linux packages
run: |
sudo apt-get update
Expand All @@ -39,4 +39,3 @@ jobs:
cd src/Nethermind/Nethermind.Vault.Test
sed -i '5s/.*/ <Parameter name="token" value="'"$TOKEN"'" \/>/' vault.runsettings
dotnet test -s vault.runsettings
Loading

0 comments on commit d310489

Please sign in to comment.