File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed
Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ if %errorlevel% neq 0 exit /b 3
2626if " %THREAD_SAFE% " equ " 0" set ADD_CONF = %ADD_CONF% --disable-zts
2727if " %INTRINSICS% " neq " " set ADD_CONF = %ADD_CONF% --enable-native-intrinsics=%INTRINSICS%
2828if " %ASAN% " equ " 1" set ADD_CONF = %ADD_CONF% --enable-sanitizer --enable-debug-pack
29+ if " %CLANG_TOOLSET% " equ " 1" set ADD_CONF = %ADD_CONF% --with-toolset=clang
2930
3031rem C4018: comparison: signed/unsigned mismatch
3132rem C4146: unary minus operator applied to unsigned type
Original file line number Diff line number Diff line change @@ -962,6 +962,35 @@ jobs:
962962 run : .github/scripts/windows/build.bat
963963 - name : Test
964964 run : .github/scripts/windows/test.bat
965+ WINDOWS_CLANG :
966+ if : ${{ fromJson(inputs.branch).jobs.WINDOWS }}
967+ name : " WINDOWS_X64_ZTS_CLANG"
968+ runs-on : windows-2022
969+ env :
970+ PHP_BUILD_CACHE_BASE_DIR : C:\build-cache
971+ PHP_BUILD_OBJ_DIR : C:\obj
972+ PHP_BUILD_CACHE_SDK_DIR : C:\build-cache\sdk
973+ PHP_BUILD_SDK_BRANCH : php-sdk-2.5.0
974+ PHP_BUILD_CRT : ${{ fromJson(inputs.branch).jobs.WINDOWS.config.vs_crt_version }}
975+ PLATFORM : x64
976+ THREAD_SAFE : " 1"
977+ INTRINSICS : " AVX2"
978+ PARALLEL : -j2
979+ OPCACHE : " 1"
980+ CLANG_TOOLSET : " 1"
981+ steps :
982+ - name : git config
983+ run : git config --global core.autocrlf false && git config --global core.eol lf
984+ - name : git checkout
985+ uses : actions/checkout@v6
986+ with :
987+ ref : ${{ fromJson(inputs.branch).ref }}
988+ - name : Setup
989+ uses : ./.github/actions/setup-windows
990+ - name : Build
991+ run : .github/scripts/windows/build.bat
992+ - name : Test
993+ run : .github/scripts/windows/test.bat
965994 FREEBSD :
966995 if : ${{ fromJson(inputs.branch).jobs.FREEBSD }}
967996 strategy :
You can’t perform that action at this time.
0 commit comments