File tree 2 files changed +49
-1
lines changed
2 files changed +49
-1
lines changed Original file line number Diff line number Diff line change 94
94
./configure --with-v8js=/opt/v8/self-built LDFLAGS="-lstdc++" CPPFLAGS="-DV8_COMPRESS_POINTERS -DV8_ENABLE_SANDBOX"
95
95
make
96
96
make test
97
+
98
+ - name : Archive test results
99
+ if : failure()
100
+ uses : actions/upload-artifact@v4
101
+ with :
102
+ name : phpt-test-results
103
+ path : |
104
+ php_test_results*.txt
105
+ tests/*.out
106
+
107
+ alpine :
108
+ runs-on : ubuntu-latest
109
+
110
+ steps :
111
+ - name : Checkout code
112
+ uses : actions/checkout@v2
113
+
114
+ - name : Setup latest Alpine Linux
115
+ uses : jirutka/setup-alpine@v1
116
+
117
+ - name : Install dependencies
118
+ run : |
119
+ cat /etc/alpine-release
120
+ apk add php83-dev nodejs-dev g++ make
121
+ shell : alpine.sh --root {0}
122
+
123
+ - name : Build extension
124
+ run : |
125
+ phpize
126
+ ./configure
127
+ make
128
+ make test
129
+ shell : alpine.sh {0}
130
+
131
+ - name : Archive test results
132
+ if : failure()
133
+ uses : actions/upload-artifact@v4
134
+ with :
135
+ name : phpt-test-results
136
+ path : |
137
+ php_test_results*.txt
138
+ tests/*.out
Original file line number Diff line number Diff line change 1
1
--TEST--
2
2
Test V8::executeString() : Use ArrayAccess with JavaScript native push method
3
3
--SKIPIF--
4
- <?php require_once (dirname (__FILE__ ) . '/skipif.inc ' ); ?>
4
+ <?php require_once (dirname (__FILE__ ) . '/skipif.inc ' );
5
+
6
+ if (str_starts_with (V8Js::V8_VERSION , '11.3.244.8 ' )) {
7
+ die ("skip V8 version known to call setter twice " );
8
+ }
9
+
10
+ ?>
5
11
--INI--
6
12
v8js.use_array_access = 1
7
13
--FILE--
You can’t perform that action at this time.
0 commit comments