Skip to content

Commit

Permalink
Add debug build variant to Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jbboehr committed Feb 8, 2024
1 parent 5ef2e3a commit 9c0ad98
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ jobs:
- "8.1"
- "8.2"
- "8.3"
debug:
- ""
- "debug"
steps:
- uses: actions/checkout@v4

Expand All @@ -71,6 +74,10 @@ jobs:
- run: phpize

- run: ./configure CFLAGS="-fprofile-arcs -ftest-coverage ${CFLAGS}" LDFLAGS="--coverage ${LDFLAGS}"
if: matrix.debug == 'debug'

- run: ./configure --enable-vyrtue-debug CFLAGS="-fprofile-arcs -ftest-coverage ${CFLAGS}" LDFLAGS="--coverage ${LDFLAGS}"
if: matrix.debug != 'debug'

- run: lcov --directory . --zerocounters

Expand Down

0 comments on commit 9c0ad98

Please sign in to comment.