File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change @@ -136,3 +136,46 @@ jobs:
136
136
path : |
137
137
php_test_results*.txt
138
138
tests/*.out
139
+
140
+ macos-package-manager-brew :
141
+ strategy :
142
+ matrix :
143
+ php-versions :
144
+ - ' 8.2'
145
+ - ' 8.3'
146
+ - ' 8.4'
147
+
148
+ runs-on : macos-latest
149
+
150
+ steps :
151
+ - name : Checkout code
152
+ uses : actions/checkout@v2
153
+
154
+ - name : Setup PHP
155
+ uses : shivammathur/setup-php@v2
156
+ with :
157
+ php-version : ${{ matrix.php-versions }}
158
+ coverage : none
159
+
160
+ - name : Set up Homebrew
161
+ uses : Homebrew/actions/setup-homebrew@master
162
+
163
+ - name : Install dependencies
164
+ run : |
165
+ brew install v8
166
+
167
+ - name : Build extension
168
+ run : |
169
+ phpize
170
+ ./configure --with-v8js=/opt/homebrew CPPFLAGS="-DV8_COMPRESS_POINTERS -DV8_ENABLE_SANDBOX"
171
+ make
172
+ make test
173
+
174
+ - name : Archive test results
175
+ if : failure()
176
+ uses : actions/upload-artifact@v4
177
+ with :
178
+ name : phpt-test-results
179
+ path : |
180
+ php_test_results*.txt
181
+ tests/*.out
You can’t perform that action at this time.
0 commit comments