[PECL-CVS] [pecl-networking-gearman] master: Merge pull request #64 from php/ci-incompatible-pointer-types

[email protected] (Rasmus Lerdorf via GitHub) Thu, 9 Apr 2026 19:48:59 +0000
Newsgroups php.pecl.cvs
Message-ID <[email protected]>
Author: Rasmus Lerdorf (rlerdorf)
Committer: GitHub (web-flow)
Pusher: rlerdorf
Date: 2026-04-09T20:48:56+01:00

Commit: https://github.com/php/pecl-networking-gearman/commit/a29a04ad28e14d398055efbba5f8932c7d366754
Raw diff: https://github.com/php/pecl-networking-gearman/commit/a29a04ad28e14d398055efbba5f8932c7d366754.diff

Merge pull request #64 from php/ci-incompatible-pointer-types

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..1647bd8 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -41,10 +41,14 @@ jobs:
       - name: Configure macOS
         if: ${{ matrix.os == 'macos-latest' }}
         run: ./configure --with-gearman=$(brew --prefix gearman)
+        env:
+          CFLAGS: -Werror=incompatible-pointer-types
 
       - name: Configure Linux
         if: ${{ matrix.os == 'ubuntu-latest' }}
         run: ./configure --with-gearman
+        env:
+          CFLAGS: -Werror=incompatible-pointer-types
 
       - name: Make extension
         run: make