mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 07:06:42 +00:00
Merge pull request #437 from maticnetwork/krishna/reproducible-build-test
Added reproducible build test to CI
This commit is contained in:
commit
3bb14803e2
1 changed files with 9 additions and 1 deletions
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
|
@ -17,4 +17,12 @@ jobs:
|
||||||
uses: codecov/codecov-action@v1
|
uses: codecov/codecov-action@v1
|
||||||
with:
|
with:
|
||||||
file: ./cover.out
|
file: ./cover.out
|
||||||
|
- name: Reproducible build test
|
||||||
|
run: |
|
||||||
|
make geth
|
||||||
|
shasum -a256 ./build/bin/geth > bor1.sha256
|
||||||
|
make geth
|
||||||
|
shasum -a256 ./build/bin/geth > bor2.sha256
|
||||||
|
if ! cmp -s bor1.sha256 bor2.sha256; then
|
||||||
|
echo >&2 "Reproducible build broken"; cat bor1.sha256; cat bor2.sha256; exit 1
|
||||||
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue