You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- name: Reproducible build test
run: |
make erigon
shasum -a256 ./build/bin/erigon > erigon1.sha256
make erigon
shasum -a256 ./build/bin/erigon > erigon2.sha256
if ! cmp -s erigon1.sha256 erigon2.sha256; then
echo >&2 "Reproducible build broken"; cat erigon1.sha256; cat erigon2.sha256; exit 1
fi
But now we have new release binaries pipeline. Need add reproducibility test.
If it will not work out of the box - let's try this flags set -tags=nosqlite,noboltdb,nosilkworm,osusergo,netgo -ldflags="-w -s -extldflags='-static' -buildid="
There is also https://github.com/ethereum/go-ethereum/issues/28987 - but seems it's for non-static binaries.
After this task is done: need identify our future strategy on Makefile.ps1 files. How much logic to keep there and how much logic to keep in .yml. Because github's .yml devs can't run locally.
The text was updated successfully, but these errors were encountered:
We already have this feature in
Makefile
and CI:But now we have new release binaries pipeline. Need add reproducibility test.
If it will not work out of the box - let's try this flags set
-tags=nosqlite,noboltdb,nosilkworm,osusergo,netgo -ldflags="-w -s -extldflags='-static' -buildid="
There is also
https://github.com/ethereum/go-ethereum/issues/28987
- but seems it's for non-static binaries.After this task is done: need identify our future strategy on
Makefile
.ps1
files. How much logic to keep there and how much logic to keep in.yml
. Because github's .yml devs can't run locally.The text was updated successfully, but these errors were encountered: