Skip to content

Commit

Permalink
Added reproducible build test to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
0xKrishna committed Jun 21, 2022
1 parent 783f93b commit fbaeaa2
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,12 @@ jobs:
uses: codecov/codecov-action@v1
with:
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

0 comments on commit fbaeaa2

Please sign in to comment.