43
43
CXX : ccache g++
44
44
jobs :
45
45
LINUX_X64 :
46
+ if : false
46
47
services :
47
48
mysql :
48
49
image : mysql:8
@@ -135,6 +136,7 @@ jobs:
135
136
if : ${{ !matrix.asan }}
136
137
uses : ./.github/actions/verify-generated-files
137
138
MACOS_DEBUG_NTS :
139
+ if : false
138
140
runs-on : macos-12
139
141
steps :
140
142
- name : git checkout
@@ -168,6 +170,7 @@ jobs:
168
170
- name : Verify generated files are up to date
169
171
uses : ./.github/actions/verify-generated-files
170
172
WINDOWS :
173
+ if : false
171
174
name : WINDOWS_X64_ZTS
172
175
runs-on : windows-2019
173
176
env :
@@ -194,7 +197,8 @@ jobs:
194
197
run : .github/scripts/windows/test.bat
195
198
BENCHMARKING :
196
199
name : BENCHMARKING
197
- if : github.repository_owner == 'php' || github.event_name == 'pull_request'
200
+ # if: github.repository_owner == 'php' || github.event_name == 'pull_request'
201
+ if : false
198
202
runs-on : ubuntu-22.04
199
203
steps :
200
204
- name : git checkout
@@ -288,3 +292,77 @@ jobs:
288
292
${{ github.sha }} \
289
293
$(git merge-base ${{ github.event.pull_request.base.sha }} ${{ github.sha }}) \
290
294
> $GITHUB_STEP_SUMMARY
295
+ ASAN_TEST :
296
+ services :
297
+ postgres :
298
+ image : postgres
299
+ env :
300
+ POSTGRES_USER : postgres
301
+ POSTGRES_PASSWORD : postgres
302
+ POSTGRES_DB : test
303
+ name : ASAN_TEST
304
+ runs-on : ubuntu-22.04
305
+ steps :
306
+ # https://stackoverflow.com/a/76921482/1320374
307
+ - name : Increase swapfile
308
+ run : |
309
+ sudo swapoff -a
310
+ sudo fallocate -l 8G /swapfile
311
+ sudo chmod 600 /swapfile
312
+ sudo mkswap /swapfile
313
+ sudo swapon /swapfile
314
+ sudo swapon --show
315
+ - name : git checkout
316
+ uses : actions/checkout@v4
317
+ - name : Create MSSQL container
318
+ uses : ./.github/actions/setup-mssql
319
+ - name : Create Oracle container
320
+ uses : ./.github/actions/setup-oracle
321
+ - name : apt
322
+ uses : ./.github/actions/apt-x64
323
+ - name : System info
324
+ run : |
325
+ echo "::group::Show host CPU info"
326
+ lscpu
327
+ echo "::endgroup::"
328
+ echo "::group::Show installed package versions"
329
+ dpkg -l
330
+ echo "::endgroup::"
331
+ - name : ./configure
332
+ uses : ./.github/actions/configure-x64
333
+ with :
334
+ configurationParameters : >-
335
+ CFLAGS='-fsanitize=undefined,address -DZEND_TRACK_ARENA_ALLOC' LDFLAGS='-fsanitize=undefined,address'
336
+ --enable-debug
337
+ --enable-zts
338
+ - name : config.log
339
+ if : always()
340
+ run : cat config.log
341
+ - name : make
342
+ run : make -j$(/usr/bin/nproc) >/dev/null
343
+ - name : make install
344
+ uses : ./.github/actions/install-linux
345
+ - name : Setup
346
+ uses : ./.github/actions/setup-x64
347
+ - name : Test
348
+ uses : ./.github/actions/test-linux
349
+ with :
350
+ runTestsParameters : >-
351
+ --asan
352
+ - name : Test Tracing JIT
353
+ uses : ./.github/actions/test-linux
354
+ with :
355
+ runTestsParameters : >-
356
+ --asan
357
+ -d zend_extension=opcache.so
358
+ -d opcache.enable_cli=1
359
+ -d opcache.jit_buffer_size=16M
360
+ - name : Test OpCache
361
+ uses : ./.github/actions/test-linux
362
+ with :
363
+ runTestsParameters : >-
364
+ --asan
365
+ -d zend_extension=opcache.so
366
+ -d opcache.enable_cli=1
367
+ - name : Verify generated files are up to date
368
+ uses : ./.github/actions/verify-generated-files
0 commit comments