Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 95d480b

Browse files
The things we do for reproducible builds
1 parent 0a43b5c commit 95d480b

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

‎.github/workflows/phar.yml‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,28 @@ jobs:
7272
- name: "Set autoloader suffix"
7373
run: "composer config autoloader-suffix PHPStanChecksum"
7474

75+
- name: "Install libfaketime"
76+
run: "sudo apt-get install -y libfaketime"
77+
78+
- name: "Test libfaketime"
79+
run: "date"
80+
env:
81+
FAKETIME: 2017年10月11日 08:58:00
82+
LD_PRELOAD: /usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1
83+
84+
- name: "Reset timestamps"
85+
run: 'find . -type f -exec touch {} +'
86+
env:
87+
FAKETIME: 2017年10月11日 08:58:00
88+
LD_PRELOAD: /usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1
89+
7590
- name: "Compile PHAR for checksum"
7691
working-directory: "compiler/build"
7792
run: "php box.phar compile --no-parallel"
7893
env:
7994
PHAR_CHECKSUM: "1"
95+
FAKETIME: 2017年10月11日 08:58:00
96+
LD_PRELOAD: /usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1
8097

8198
- name: "Unset autoloader suffix"
8299
run: "composer config autoloader-suffix --unset"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /