File tree 1 file changed +17
-0
lines changed
1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -72,11 +72,28 @@ jobs:
72
72
- name : " Set autoloader suffix"
73
73
run : " composer config autoloader-suffix PHPStanChecksum"
74
74
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
+
75
90
- name : " Compile PHAR for checksum"
76
91
working-directory : " compiler/build"
77
92
run : " php box.phar compile --no-parallel"
78
93
env :
79
94
PHAR_CHECKSUM : " 1"
95
+ FAKETIME : 2017-10-11 08:58:00
96
+ LD_PRELOAD : /usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1
80
97
81
98
- name : " Unset autoloader suffix"
82
99
run : " composer config autoloader-suffix --unset"
You can’t perform that action at this time.
0 commit comments