Skip to content

Commit

Permalink
A start on md5sum checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
oubiwann committed Jul 11, 2023
1 parent 5e29c09 commit 28a34a6
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,9 @@ jobs:
- name: Run All Examples
run: |
sudo -u examplesuser rebar3 as examples lfe run -- all true
- name: List Generated Images
run: ls -l priv/output/*.jpg
- name: Make md5sum
run: make md5sum > priv/output/examples.md5sum
- name: Check md5sums
run: diff -u examples/output.md5sum priv/output/examples.md5sum
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,10 @@ hex-publish:
cp priv/html/docs-redirect.html doc/index.html
rebar3 hex publish
rm -rf doc

md5sum:
md5sum priv/output/*.jpg |sort

output-md5sum:
@echo "\nGenerating check sums ...\n"
$(MAKE) md5sum > examples/output.md5sum
9 changes: 9 additions & 0 deletions examples/output.md5sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
md5sum priv/output/*.jpg |sort
131482f43b8edf18e0134c549c3cba7f priv/output/controls.jpg
789d1ed752f234961589154569e8c811 priv/output/3d-hidden.jpg
9e30990129371a077866ddeeca7949da priv/output/room-modes.jpg
a0551bb427841b38380f27f7c03daaa6 priv/output/helix.jpg
a1fcbd6325abf025e38adfb41c5238ae priv/output/histogram.jpg
a32fc40569e3790633174ddba9e81b48 priv/output/tori.jpg
c976341f97564d5853680e99a10b5cd0 priv/output/3d-heatmap.jpg
f7ecbe1751e957b417b682549175634a priv/output/fourier-approx.jpg

0 comments on commit 28a34a6

Please sign in to comment.