[PECL-CVS] [pecl-networking-gearman] ci-incompatible-pointer-types: Add -Werror=incompatible-pointer-types to CI
[email protected] (Rasmus Lerdorf) Thu, 9 Apr 2026 13:07:32 +0000
| Newsgroups | php.pecl.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Rasmus Lerdorf (rlerdorf)
Date: 2026-04-09T09:07:19-04:00
Commit: https://github.com/php/pecl-networking-gearman/commit/a04c79529d0d03202596c127216ae323ffd7e332
Raw diff: https://github.com/php/pecl-networking-gearman/commit/a04c79529d0d03202596c127216ae323ffd7e332.diff
Add -Werror=incompatible-pointer-types to CI
Changed paths:
M .github/workflows/ci.yml
Diff:
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 23a8425..c49ba88 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -40,11 +40,11 @@ jobs:
- name: Configure macOS
if: ${{ matrix.os == 'macos-latest' }}
- run: ./configure --with-gearman=$(brew --prefix gearman)
+ run: ./configure --with-gearman=$(brew --prefix gearman) CFLAGS="-Werror=incompatible-pointer-types"
- name: Configure Linux
if: ${{ matrix.os == 'ubuntu-latest' }}
- run: ./configure --with-gearman
+ run: ./configure --with-gearman CFLAGS="-Werror=incompatible-pointer-types"
- name: Make extension
run: make