diff --git a/debian-12/eth-node-nethermind/1.21.1-1/src/debian/rules b/debian-12/eth-node-nethermind/1.21.1-1/src/debian/rules index e05382d5c..43a767d63 100644 --- a/debian-12/eth-node-nethermind/1.21.1-1/src/debian/rules +++ b/debian-12/eth-node-nethermind/1.21.1-1/src/debian/rules @@ -5,6 +5,21 @@ override_dh_dwz: +override_dh_auto_build: + cd src/Nethermind/Nethermind.Runner && dotnet build -c release + # Deleta all other archs then x64 + # You need to delete them, as this error will be presented by dpkg: dpkg-shlibdeps: error: cannot find library ld-linux-aarch64.so.1 + # TODO this should come from the build specs + find src/Nethermind/Nethermind.Runner/bin/release/net7.0/runtimes -mindepth 1 -maxdepth 1 -type d ! -name 'linux-x64' -exec rm -r {} \; + + +override_dh_auto_test: + # # Skip tests as they are failing + # # Run Nethermind tests: + # cd src/Nethermind && dotnet test Nethermind.sln -c release + # # Run Ethereum Foundation tests: + # cd src/Nethermind && dotnet test EthereumTests.sln -c release + override_dh_auto_install: # This relies on make install script # if there is no install script, you have define your own rules