Skip to content

Commit e469ac4

Browse files
committedApr 9, 2024··
dist: verify tarball reproducibility in CI
Closes #13327
1 parent 28c5ddf commit e469ac4

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed
 

‎.github/workflows/distcheck.yml

+11-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,17 @@ jobs:
3838
- run: make V=1 && make V=1 clean
3939
name: 'make and clean'
4040

41-
- run: ./maketgz 99.98.97
42-
name: 'maketgz'
41+
- name: 'maketgz'
42+
run: |
43+
SOURCE_DATE_EPOCH=1711526400 ./maketgz 99.98.97
44+
45+
- name: 'maketgz reproducibility test'
46+
run: |
47+
mkdir run1; mv ./curl-99.98.97.* run1/
48+
make V=1 && make V=1 clean
49+
SOURCE_DATE_EPOCH=1711526400 ./maketgz 99.98.97
50+
mkdir run2; cp -p ./curl-99.98.97.* run2/
51+
diff run1 run2
4352
4453
- uses: actions/upload-artifact@v4
4554
with:

0 commit comments

Comments
 (0)
Please sign in to comment.