File tree Expand file tree Collapse file tree 3 files changed +31
-53
lines changed Expand file tree Collapse file tree 3 files changed +31
-53
lines changed Original file line number Diff line number Diff line change @@ -153,3 +153,34 @@ jobs:
153
153
-d opcache.jit=1205
154
154
- name : Verify generated files are up to date
155
155
uses : ./.github/actions/verify-generated-files
156
+ COVERAGE_DEBUG_NTS :
157
+ runs-on : ubuntu-20.04
158
+ steps :
159
+ - name : git checkout
160
+ uses : actions/checkout@v2
161
+ - name : Create mssql container
162
+ uses : ./.github/actions/mssql
163
+ - name : apt
164
+ uses : ./.github/actions/apt-x64
165
+ - name : Install gcovr
166
+ run : sudo -H pip install gcovr
167
+ - name : ./configure
168
+ uses : ./.github/actions/configure-x64
169
+ with :
170
+ configurationParameters : --enable-debug --disable-zts --enable-gcov
171
+ - name : make
172
+ run : make -j$(/usr/bin/nproc) >/dev/null
173
+ - name : make install
174
+ uses : ./.github/actions/install-linux
175
+ - name : Setup
176
+ uses : ./.github/actions/setup-x64
177
+ # We only test with OpCache, the difference in coverage is negligible
178
+ - name : Test OpCache
179
+ uses : ./.github/actions/test-linux
180
+ with :
181
+ runTestsParameters : >-
182
+ -d zend_extension=opcache.so
183
+ -d opcache.enable_cli=1
184
+ - name : Upload Test Coverage to Codecov.io
185
+ if : always()
186
+ run : bash <(curl -s https://codecov.io/bash)
Original file line number Diff line number Diff line change 49
49
CFLAGS='-fsanitize=undefined,address -fno-sanitize-recover -DZEND_TRACK_ARENA_ALLOC'
50
50
LDFLAGS='-fsanitize=undefined,address'
51
51
timeoutInMinutes : 90
52
- - template : azure/coverage_job.yml
53
- parameters :
54
- configurationName : COVERAGE_DEBUG_ZTS
55
- configurationParameters : ' --enable-debug --disable-zts'
56
- timeoutInMinutes : 90
57
52
- template : azure/file_cache_job.yml
58
53
parameters :
59
54
configurationName : DEBUG_NTS_FILE_CACHE
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments