Skip to content

Commit 08f4f74

Browse files
committed
Add Windows GitHub action
1 parent 645efba commit 08f4f74

File tree

2 files changed

+28
-11
lines changed

2 files changed

+28
-11
lines changed

.github/workflows/ci.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,3 +141,17 @@ jobs:
141141

142142
- name: Install PHP
143143
run: cmake --install php-build/all-enabled
144+
145+
windows:
146+
runs-on: windows-latest
147+
name: Windows
148+
steps:
149+
- name: Checkout
150+
uses: actions/checkout@v4
151+
with:
152+
fetch-depth: 2
153+
154+
- name: Build and install
155+
run: |
156+
cmake --preset windows
157+
cmake --build --preset windows -j

cmake/cmake/presets/windows.json

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,31 @@
88
"binaryDir": "${sourceDir}/php-build/windows",
99
"installDir": "C:/temp",
1010
"cacheVariables": {
11-
"PHP_EXT_COM_DOTNET": true,
12-
"PHP_EXT_CTYPE": true,
11+
"PHP_EXT_BCMATH": true,
12+
"PHP_EXT_CALENDAR": true,
13+
"PHP_EXT_DL_TEST": true,
1314
"PHP_EXT_DOM": false,
14-
"PHP_EXT_FILEINFO": true,
15-
"PHP_EXT_FILTER": true,
15+
"PHP_EXT_FTP": true,
16+
"PHP_EXT_FTP_SSL": false,
1617
"PHP_EXT_ICONV": false,
1718
"PHP_EXT_LIBXML": false,
18-
"PHP_EXT_OPCACHE": true,
19-
"PHP_EXT_PDO": true,
19+
"PHP_EXT_MBSTRING": false,
20+
"PHP_EXT_MBSTRING_MBREGEX": false,
21+
"PHP_EXT_MYSQLND": true,
22+
"PHP_EXT_MYSQLND_COMPRESSION": false,
2023
"PHP_EXT_PDO_SQLITE": false,
2124
"PHP_EXT_PHAR": false,
22-
"PHP_EXT_POSIX": false,
23-
"PHP_EXT_SESSION": true,
25+
"PHP_EXT_SHMOP": true,
2426
"PHP_EXT_SIMPLEXML": false,
27+
"PHP_EXT_SOCKETS": true,
2528
"PHP_EXT_SQLITE3": false,
26-
"PHP_EXT_TOKENIZER": true,
29+
"PHP_EXT_SYSVSHM": true,
2730
"PHP_EXT_XML": false,
2831
"PHP_EXT_XMLREADER": false,
2932
"PHP_EXT_XMLWRITER": false,
33+
"PHP_EXT_ZEND_TEST": true,
3034

31-
"PHP_SAPI_CGI": true,
32-
"PHP_SAPI_PHPDBG": true,
35+
"PHP_SAPI_EMBED": true,
3336

3437
"CMAKE_INSTALL_BINDIR": ".",
3538
"CMAKE_INSTALL_DATADIR": ".",

0 commit comments

Comments
 (0)