Add windows tests

This commit is contained in:
crazywhalecc 2025-07-17 12:23:03 +08:00
parent c604f88685
commit e56c628bec

View File

@ -24,12 +24,12 @@ $test_os = [
// 'macos-13', // bin/spc for x86_64
// 'macos-14', // bin/spc for arm64
// 'macos-15', // bin/spc for arm64
'ubuntu-latest', // bin/spc-alpine-docker for x86_64
// 'ubuntu-latest', // bin/spc-alpine-docker for x86_64
// 'ubuntu-22.04', // bin/spc-gnu-docker for x86_64
// 'ubuntu-24.04', // bin/spc for x86_64
// 'ubuntu-22.04-arm', // bin/spc-gnu-docker for arm64
// 'ubuntu-24.04-arm', // bin/spc for arm64
// 'windows-latest', // .\bin\spc.ps1
'windows-latest', // .\bin\spc.ps1
];
// whether enable thread safe
@ -49,7 +49,7 @@ $prefer_pre_built = false;
// If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`).
$extensions = match (PHP_OS_FAMILY) {
'Linux', 'Darwin' => 'imap,swoole',
'Windows' => 'intl',
'Windows' => 'curl',
};
// If you want to test shared extensions, add them below (comma separated, example `bcmath,openssl`).