Skip to content

Commit cf632bb

Browse files
committed
Run asan in push
1 parent 81ef13d commit cf632bb

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/push.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,16 @@ jobs:
2323
fail-fast: false
2424
matrix:
2525
include:
26-
- debug: true
27-
zts: false
28-
- debug: false
26+
# - debug: true
27+
# zts: false
28+
# - debug: false
29+
# zts: true
30+
- configuration_parameters: "CFLAGS='-fsanitize=undefined,address -DZEND_TRACK_ARENA_ALLOC' LDFLAGS='-fsanitize=undefined,address'"
31+
debug: true
32+
name: '_ASAN_UBSAN'
33+
run_tests_parameters: '--asan'
2934
zts: true
30-
name: "LINUX_X64_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}"
35+
name: "LINUX_X64${{ matrix.name }}_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}"
3136
runs-on: ubuntu-20.04
3237
steps:
3338
- name: git checkout
@@ -40,6 +45,7 @@ jobs:
4045
uses: ./.github/actions/configure-x64
4146
with:
4247
configurationParameters: >-
48+
${{ matrix.configuration_parameters }}
4349
--${{ matrix.debug && 'enable' || 'disable' }}-debug
4450
--${{ matrix.zts && 'enable' || 'disable' }}-zts
4551
- name: make
@@ -54,12 +60,14 @@ jobs:
5460
uses: ./.github/actions/test-linux
5561
with:
5662
runTestsParameters: >-
63+
${{ matrix.run_tests_parameters }}
5764
-d zend_extension=opcache.so
5865
-d opcache.enable_cli=1
5966
-d opcache.jit_buffer_size=16M
6067
- name: Verify generated files are up to date
6168
uses: ./.github/actions/verify-generated-files
6269
MACOS_DEBUG_NTS:
70+
if: false
6371
runs-on: macos-10.15
6472
steps:
6573
- name: git checkout

0 commit comments

Comments
 (0)