4343 CXX : ccache g++
4444jobs :
4545 LINUX_X64 :
46- if : github.repository == 'php/php-src' || github.event_name == 'pull_request'
4746 services :
4847 mysql :
4948 image : mysql:8.3
@@ -112,117 +111,4 @@ jobs:
112111 -d zend_extension=opcache.so
113112 -d opcache.enable_cli=1
114113 - name : Verify generated files are up to date
115- uses : ./.github/actions/verify-generated-files
116- LINUX_X32 :
117- name : LINUX_X32_DEBUG_ZTS
118- runs-on : ubuntu-latest
119- container :
120- image : ubuntu:20.04
121- env :
122- MYSQL_TEST_HOST : mysql
123- PDO_MYSQL_TEST_DSN : mysql:host=mysql;dbname=test
124- PDO_MYSQL_TEST_HOST : mysql
125- services :
126- mysql :
127- image : mysql:8.3
128- ports :
129- - 3306:3306
130- env :
131- MYSQL_DATABASE : test
132- MYSQL_ROOT_PASSWORD : root
133- steps :
134- - name : git checkout
135- uses : actions/checkout@v4
136- - name : apt
137- uses : ./.github/actions/apt-x32
138- - name : ccache
139- uses :
hendrikmuhs/[email protected] 140- with :
141- key : " ${{github.job}}-${{hashFiles('main/php_version.h')}}"
142- append-timestamp : false
143- - name : ./configure
144- uses : ./.github/actions/configure-x32
145- with :
146- configurationParameters : >-
147- --enable-debug
148- --enable-zts
149- - name : make
150- run : make -j$(/usr/bin/nproc) >/dev/null
151- - name : make install
152- uses : ./.github/actions/install-linux-x32
153- - name : Test Tracing JIT
154- uses : ./.github/actions/test-linux
155- with :
156- jitType : tracing
157- runTestsParameters : >-
158- -d zend_extension=opcache.so
159- -d opcache.enable_cli=1
160- MACOS_DEBUG_NTS :
161- if : github.repository == 'php/php-src' || github.event_name == 'pull_request'
162- runs-on : macos-13
163- steps :
164- - name : git checkout
165- uses : actions/checkout@v4
166- - name : brew
167- uses : ./.github/actions/brew
168- - name : ccache
169- uses :
hendrikmuhs/[email protected] 170- with :
171- key : " ${{github.job}}-${{hashFiles('main/php_version.h')}}"
172- append-timestamp : false
173- save : ${{ github.event_name != 'pull_request' }}
174- - name : ./configure
175- uses : ./.github/actions/configure-macos
176- with :
177- configurationParameters : --enable-debug --disable-zts
178- - name : make
179- run : |-
180- export PATH="/usr/local/opt/bison/bin:$PATH"
181- make -j$(sysctl -n hw.logicalcpu) >/dev/null
182- - name : make install
183- run : sudo make install
184- - name : Test Tracing JIT
185- uses : ./.github/actions/test-macos
186- with :
187- jitType : tracing
188- runTestsParameters : >-
189- -d zend_extension=opcache.so
190- -d opcache.enable_cli=1
191- -d opcache.protect_memory=1
192- - name : Verify generated files are up to date
193- uses : ./.github/actions/verify-generated-files
194- WINDOWS :
195- if : github.repository == 'php/php-src' || github.event_name == 'pull_request'
196- name : WINDOWS_X64_ZTS
197- runs-on : windows-2019
198- env :
199- PHP_BUILD_CACHE_BASE_DIR : C:\build-cache
200- PHP_BUILD_OBJ_DIR : C:\obj
201- PHP_BUILD_CACHE_SDK_DIR : C:\build-cache\sdk
202- PHP_BUILD_SDK_BRANCH : php-sdk-2.3.0
203- PHP_BUILD_CRT : vs16
204- PLATFORM : x64
205- THREAD_SAFE : " 1"
206- INTRINSICS : AVX2
207- PARALLEL : -j2
208- OPCACHE : " 1"
209- steps :
210- - name : git config
211- run : git config --global core.autocrlf false && git config --global core.eol lf
212- - name : git checkout
213- uses : actions/checkout@v4
214- - name : Setup
215- uses : ./.github/actions/setup-windows
216- - name : Build
217- run : .github/scripts/windows/build.bat
218- - name : Test
219- run : .github/scripts/windows/test.bat
220- FREEBSD :
221- if : github.repository == 'php/php-src' || github.event_name == 'pull_request'
222- name : FREEBSD
223- runs-on : ubuntu-latest
224- steps :
225- - name : git checkout
226- uses : actions/checkout@v4
227- - name : FreeBSD
228- uses : ./.github/actions/freebsd
114+ uses : ./.github/actions/verify-generated-files
0 commit comments