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,79 @@ 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 : ccache
316
+ uses : hendrikmuhs/ccache-action@v1.2
317
+ - name : git checkout
318
+ uses : actions/checkout@v4
319
+ - name : Create MSSQL container
320
+ uses : ./.github/actions/setup-mssql
321
+ - name : Create Oracle container
322
+ uses : ./.github/actions/setup-oracle
323
+ - name : apt
324
+ uses : ./.github/actions/apt-x64
325
+ - name : System info
326
+ run : |
327
+ echo "::group::Show host CPU info"
328
+ lscpu
329
+ echo "::endgroup::"
330
+ echo "::group::Show installed package versions"
331
+ dpkg -l
332
+ echo "::endgroup::"
333
+ - name : ./configure
334
+ uses : ./.github/actions/configure-x64
335
+ with :
336
+ configurationParameters : >-
337
+ CFLAGS='-fsanitize=undefined,address -DZEND_TRACK_ARENA_ALLOC' LDFLAGS='-fsanitize=undefined,address'
338
+ --enable-debug
339
+ --enable-zts
340
+ # - name: config.log
341
+ # if: always()
342
+ # run: cat config.log
343
+ - name : make
344
+ run : make -j$(/usr/bin/nproc) >/dev/null
345
+ - name : make install
346
+ uses : ./.github/actions/install-linux
347
+ - name : Setup
348
+ uses : ./.github/actions/setup-x64
349
+ - name : Test
350
+ uses : ./.github/actions/test-linux
351
+ with :
352
+ runTestsParameters : >-
353
+ --asan
354
+ - name : Test Tracing JIT
355
+ uses : ./.github/actions/test-linux
356
+ with :
357
+ runTestsParameters : >-
358
+ --asan
359
+ -d zend_extension=opcache.so
360
+ -d opcache.enable_cli=1
361
+ -d opcache.jit_buffer_size=16M
362
+ - name : Test OpCache
363
+ uses : ./.github/actions/test-linux
364
+ with :
365
+ runTestsParameters : >-
366
+ --asan
367
+ -d zend_extension=opcache.so
368
+ -d opcache.enable_cli=1
369
+ - name : Verify generated files are up to date
370
+ uses : ./.github/actions/verify-generated-files
0 commit comments