Skip to content

Commit 219c617

Browse files
committed
update windows ci
1 parent 46817b9 commit 219c617

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@ jobs:
4040
- name: Setup PHP (Windows)
4141
if: matrix.os == 'windows-latest'
4242
run: |
43-
choco install php --version=8.2
43+
choco install php --version=8.2 --params '"/ExtensionList:mbstring,curl,openssl,xml"'
4444
refreshenv
4545
php -v
46+
shell: pwsh
4647

4748
- name: Install Composer (Windows)
4849
if: matrix.os == 'windows-latest'
@@ -75,7 +76,13 @@ jobs:
7576
restore-keys: |
7677
${{ runner.os }}-php-
7778
78-
- name: Install dependencies
79+
- name: Install dependencies (Windows)
80+
if: matrix.os == 'windows-latest'
81+
run: composer install --prefer-dist --no-progress --ignore-platform-req=ext-pcntl
82+
shell: bash
83+
84+
- name: Install dependencies (Unix)
85+
if: matrix.os != 'windows-latest'
7986
run: composer install --prefer-dist --no-progress
8087
shell: bash
8188

0 commit comments

Comments
 (0)