Skip to content

Commit 7fc5dd4

Browse files
committed
Fix krb5 CI build by the way
1 parent 6b62255 commit 7fc5dd4

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

src/SPC/builder/unix/library/krb5.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ protected function build(): void
1313
{
1414
$origin_source_dir = $this->source_dir;
1515
$this->source_dir .= '/src';
16-
shell()->cd($this->source_dir)->exec('autoreconf -if');
16+
if (!file_exists($this->source_dir . '/configure')) {
17+
shell()->cd($this->source_dir)->exec('autoreconf -if');
18+
}
1719
$libs = array_map(fn ($x) => $x->getName(), $this->getDependencies(true));
1820
$spc = new SPCConfigUtil($this->builder, ['no_php' => true, 'libs_only_deps' => true]);
1921
$config = $spc->config(libraries: $libs, include_suggest_lib: $this->builder->getOption('with-suggested-libs', false));

src/globals/test-extensions.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323

2424
// test os (macos-15-intel, macos-15, ubuntu-latest, windows-latest are available)
2525
$test_os = [
26-
// 'macos-15-intel', // bin/spc for x86_64
27-
// 'macos-15', // bin/spc for arm64
26+
'macos-15-intel', // bin/spc for x86_64
27+
'macos-15', // bin/spc for arm64
2828
// 'ubuntu-latest', // bin/spc-alpine-docker for x86_64
2929
// 'ubuntu-22.04', // bin/spc-gnu-docker for x86_64
3030
// 'ubuntu-24.04', // bin/spc for x86_64
@@ -50,7 +50,7 @@
5050

5151
// If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`).
5252
$extensions = match (PHP_OS_FAMILY) {
53-
'Linux', 'Darwin' => 'sqlsrv,pdo_sqlsrv',
53+
'Linux', 'Darwin' => 'curl',
5454
'Windows' => 'intl',
5555
};
5656

@@ -66,7 +66,7 @@
6666

6767
// If you want to test extra libs for extensions, add them below (comma separated, example `libwebp,libavif`). Unnecessary, when $with_suggested_libs is true.
6868
$with_libs = match (PHP_OS_FAMILY) {
69-
'Linux', 'Darwin' => '',
69+
'Linux', 'Darwin' => 'krb5',
7070
'Windows' => '',
7171
};
7272

0 commit comments

Comments
 (0)