[pecl-networking-gearman] ci-incompatible-pointer-types: Add -Werror=incompatible-pointer-types to CI
| From: | Rasmus Lerdorf | Date: | Thu, 09 Apr 2026 13:07:32 +0000 |
| Subject: | [pecl-networking-gearman] ci-incompatible-pointer-types: Add -Werror=incompatible-pointer-types to CI | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-28519@lists.php.net to get a copy of this message | ||
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