Skip to content

Commit 030793e

Browse files
committed
More accurate build
See 4b8d389
1 parent 4b8d389 commit 030793e

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

.github/workflows/main.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -88,17 +88,23 @@ jobs:
8888
run: echo '/tmp/core.%e.%p.%t' | sudo tee /proc/sys/kernel/core_pattern
8989

9090
- name: Install re2c ${{ matrix.re2c }}
91-
if: runner.os != 'Windows'
9291
run: .ci/install-re2c.sh
9392

94-
- name: Build extensions (Linux)
95-
if: runner.os != 'Windows'
93+
- name: Build extensions
9694
run: |
9795
phpize
98-
./configure \
99-
--enable-zephir-parser \
100-
--enable-zephir-parser-debug \
101-
--enable-coverage
96+
97+
if [ "${{ matrix.ccov}}" = "ON" ]; then
98+
./configure \
99+
--enable-zephir-parser \
100+
--enable-zephir-parser-debug \
101+
--enable-coverage
102+
else
103+
./configure \
104+
--enable-zephir-parser \
105+
--enable-zephir-parser-debug
106+
fi
107+
102108
make -j$(getconf _NPROCESSORS_ONLN)
103109
104110
- name: Preparing to collect coverage data

0 commit comments

Comments
 (0)