We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12a7fc4 commit 09d6416Copy full SHA for 09d6416
1 file changed
.github/workflows/check-build-reproducibility.yml
@@ -66,14 +66,8 @@ jobs:
66
67
- name: Compare builds
68
run: |
69
- hash1="$(sha1sum ./install/${{ env.PRESET }}-1/lib/libpower_grid_model_c.so)"
70
- hash2="$(sha1sum ./install/${{ env.PRESET }}-2/lib/libpower_grid_model_c.so)"
71
- if [ "$hash1" != "$hash2" ]; then
72
- echo "Build mismatch detected"
73
- exit 1
74
- else
75
- echo "Builds are identical"
76
- fi
+ diff -qr ${PATH1} ${PATH2} || (echo "Build mismatch detected" && exit 1)
+ echo "Builds are identical"
77
78
check-reproducibility-c-windows:
79
runs-on: windows-latest
0 commit comments