Merge pull request #437 from maticnetwork/krishna/reproducible-build-test

Added reproducible build test to CI
This commit is contained in:
Krishna Upadhyaya 2022-06-21 18:26:05 +05:30 committed by GitHub
commit 3bb14803e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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