Skip to content

Commit 05ca230

Browse files
committed
.github/workflows/01-make-dist.yml: introduce "make distcheck-completeness" to verify that our dist archives exactly reproduce themselves [networkupstools#2829]
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
1 parent 7fcfafa commit 05ca230

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/01-make-dist.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,16 @@ jobs:
215215
( ${{env.compiler}} ; echo "=== CC: $CC => `command -v $CC` =>" ; $CC --version ; echo "=== CXX: $CXX => `command -v $CXX` =>" ; $CXX --version ) || true
216216
make -s -j 8 distcheck
217217
218+
- name: NUT CI Build to verify "dist" tarball build self-reproducibility
219+
env:
220+
compiler: 'CC=gcc CXX=g++'
221+
run: |
222+
PATH="/usr/lib/ccache:$PATH" ; export PATH
223+
CCACHE_COMPRESS=true; export CCACHE_COMPRESS
224+
ccache --version || true
225+
( ${{env.compiler}} ; echo "=== CC: $CC => `command -v $CC` =>" ; $CC --version ; echo "=== CXX: $CXX => `command -v $CXX` =>" ; $CXX --version ) || true
226+
make -s -j 8 distcheck-completeness
227+
218228
- name: CCache stats after distcheck
219229
run: ccache -sv || ccache -s || echo "FAILED to read ccache info, oh well"
220230

0 commit comments

Comments
 (0)