Skip to content

Commit 5a0b6b4

Browse files
Thavarshanclaude
andcommitted
Fix Windows CI by ignoring ext-pcntl platform requirement
The pcntl extension is Unix-only and not available on Windows. Added --ignore-platform-req=ext-pcntl flag for Windows builds to allow composer install to succeed. Generated with Claude Code (https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 4fcb0c2 commit 5a0b6b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
${{ runner.os }}-php${{ matrix.php }}-composer-
115115
116116
- name: Install dependencies
117-
run: composer install --no-interaction --prefer-dist --optimize-autoloader ${{ matrix.stability == 'prefer-lowest' && '--prefer-lowest' || '' }}
117+
run: composer install --no-interaction --prefer-dist --optimize-autoloader ${{ matrix.stability == 'prefer-lowest' && '--prefer-lowest' || '' }} ${{ matrix.os == 'windows-latest' && '--ignore-platform-req=ext-pcntl' || '' }}
118118

119119
- name: Execute tests
120120
run: composer test

0 commit comments

Comments
 (0)