[pecl-networking-gearman] ci-incompatible-pointer-types: address reviews
| From: | Rasmus Lerdorf | Date: | Thu, 09 Apr 2026 13:16:10 +0000 |
| Subject: | [pecl-networking-gearman] ci-incompatible-pointer-types: address reviews | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-28520@lists.php.net to get a copy of this message | ||
Author: Rasmus Lerdorf (rlerdorf)
Date: 2026-04-09T09:16:05-04:00
Commit: https://github.com/php/pecl-networking-gearman/commit/30de46d29ca62f6d36ea2096f73c1b491d36ac28
Raw diff: https://github.com/php/pecl-networking-gearman/commit/30de46d29ca62f6d36ea2096f73c1b491d36ac28.diff
address reviews
Changed paths:
M .github/workflows/ci.yml
Diff:
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c49ba88..6e8dc83 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -19,6 +19,8 @@ jobs:
os: [ubuntu-latest, macos-latest]
version: ['7.2', '7.3', '7.4', '8.0',
'8.1', '8.2', '8.3', '8.4', '8.5']
stable: [true]
+ env:
+ CFLAGS: -Werror=incompatible-pointer-types
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
@@ -40,11 +42,11 @@ jobs:
- name: Configure macOS
if: ${{ matrix.os == 'macos-latest' }}
- run: ./configure --with-gearman=$(brew --prefix gearman)
CFLAGS="-Werror=incompatible-pointer-types"
+ run: ./configure --with-gearman=$(brew --prefix gearman)
- name: Configure Linux
if: ${{ matrix.os == 'ubuntu-latest' }}
- run: ./configure --with-gearman CFLAGS="-Werror=incompatible-pointer-types"
+ run: ./configure --with-gearman
- name: Make extension
run: make