7777 -d opcache.jit_buffer_size=16M
7878 - name : Verify generated files are up to date
7979 uses : ./.github/actions/verify-generated-files
80- LINUX_X32 :
81- name : LINUX_X32_DEBUG_ZTS
82- runs-on : ubuntu-latest
83- container :
84- image : ubuntu:20.04
85- env :
86- MYSQL_TEST_HOST : mysql
87- PDO_MYSQL_TEST_DSN : mysql:host=mysql;dbname=test
88- PDO_MYSQL_TEST_HOST : mysql
89- services :
90- mysql :
91- image : mysql:8
92- ports :
93- - 3306:3306
94- env :
95- MYSQL_DATABASE : test
96- MYSQL_ROOT_PASSWORD : root
97- steps :
98- - name : git checkout
99- uses : actions/checkout@v3
100- - name : apt
101- uses : ./.github/actions/apt-x32
102- - name : ccache
103- uses :
hendrikmuhs/[email protected] 104- with :
105- key : " ${{github.job}}-${{hashFiles('main/php_version.h')}}"
106- append-timestamp : false
107- - name : ./configure
108- uses : ./.github/actions/configure-x32
109- with :
110- configurationParameters : >-
111- --enable-debug
112- --enable-zts
113- - name : make
114- run : make -j$(/usr/bin/nproc) >/dev/null
115- - name : make install
116- uses : ./.github/actions/install-linux-x32
117- - name : Test
118- uses : ./.github/actions/test-linux
119- - name : Test Tracing JIT
120- uses : ./.github/actions/test-linux
121- with :
122- runTestsParameters : >-
123- -d zend_extension=opcache.so
124- -d opcache.enable_cli=1
125- -d opcache.jit_buffer_size=16M
12680 MACOS_DEBUG_NTS :
12781 runs-on : macos-11
12882 steps :
14599 make -j$(sysctl -n hw.logicalcpu) >/dev/null
146100 - name : make install
147101 run : sudo make install
148- - name : Test
149- uses : ./.github/actions/test-macos
150102 - name : Test Tracing JIT
151103 uses : ./.github/actions/test-macos
152104 with :
@@ -158,45 +110,26 @@ jobs:
158110 - name : Verify generated files are up to date
159111 uses : ./.github/actions/verify-generated-files
160112 WINDOWS :
161- strategy :
162- fail-fast : false
163- matrix :
164- include :
165- - x64 : true
166- zts : false
167- opcache : true
168- - x64 : false
169- zts : true
170- opcache : false
171- name : " WINDOWS_${{ matrix.x64 && 'X64' || 'X86' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}"
113+ name : WINDOWS_X64_ZTS
172114 runs-on : windows-2019
173115 env :
174116 PHP_BUILD_CACHE_BASE_DIR : C:\build-cache
175117 PHP_BUILD_OBJ_DIR : C:\obj
176118 PHP_BUILD_CACHE_SDK_DIR : C:\build-cache\sdk
177119 PHP_BUILD_SDK_BRANCH : php-sdk-2.2.0
178120 PHP_BUILD_CRT : vs16
179- PLATFORM : ${{ matrix. x64 && 'x64' || 'x86' }}
180- THREAD_SAFE : " ${{ matrix.zts && '1' || '0' }} "
181- INTRINSICS : " ${{ matrix.zts && ' AVX2' || '' }} "
121+ PLATFORM : x64
122+ THREAD_SAFE : " 1 "
123+ INTRINSICS : AVX2
182124 PARALLEL : -j2
183- OPCACHE : " ${{ matrix.opcache && '1' || '0' }} "
125+ OPCACHE : " 1 "
184126 steps :
185127 - name : git config
186128 run : git config --global core.autocrlf false && git config --global core.eol lf
187129 - name : git checkout
188130 uses : actions/checkout@v3
189- - name : Setup MySQL
190- run : |
191- choco install mysql -y --no-progress --params="/port:3306"
192- mysql.exe --port=3306 --user=root --password="" -e "ALTER USER 'root'@'localhost' IDENTIFIED BY 'Password12!'; FLUSH PRIVILEGES;"
193- - name : Setup MSSQL
194- run : |
195- choco install sql-server-express -y --no-progress --install-arguments="/SECURITYMODE=SQL /SAPWD=Password12!"
196- - name : Setup PostgreSQL
197- run : |
198- Set-Service -Name "postgresql-x64-14" -StartupType manual -Status Running
199- pwsh -Command { $env:PGPASSWORD="root"; & "$env:PGBIN\psql" -U postgres -c "ALTER USER postgres WITH PASSWORD 'Password12!';" }
131+ - name : Setup
132+ uses : ./.github/actions/setup-windows
200133 - name : Build
201134 run : .github/scripts/windows/build.bat
202135 - name : Test
0 commit comments