Skip to content

Commit ae8916d

Browse files
committed
fixup! wip: ci
1 parent 8936f47 commit ae8916d

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/extension/BuildPhpExtension/private/Invoke-Build.ps1

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ Function Invoke-Build {
3030
if($env:ARTIFACT_NAMING_SCHEME -eq 'pecl') {
3131
$ref = $Config.ref.ToLower()
3232
}
33+
echo ">>> builder: $builder"
34+
echo ">>> -c: $Config.vs_version"
35+
echo ">>> -a: $Config.Arch"
36+
echo ">>> -s: $Config.vs_toolset"
37+
echo ">>> -t: $task"
3338
$suffix = "php_" + (@(
3439
$Config.name,
3540
$ref,
@@ -38,10 +43,7 @@ Function Invoke-Build {
3843
$Config.vs_version,
3944
$Config.arch
4045
) -join "-")
41-
# & $builder -c $Config.vs_version -a $Config.Arch -s $Config.vs_toolset -t $task | Tee-Object -FilePath "build-$suffix.txt"
42-
echo "$builder -c $Config.vs_version -a $Config.Arch -s $Config.vs_toolset -t $task"
43-
echo "build-$suffix.txt"
44-
$builder -c $Config.vs_version -a $Config.Arch -s $Config.vs_toolset -t $task
46+
& $builder -c $Config.vs_version -a $Config.Arch -s $Config.vs_toolset -t $task | Tee-Object -FilePath "build-$suffix.txt"
4547
Set-GAGroup end
4648
if(-not(Test-Path "$((Get-Location).Path)\$($Config.build_directory)\php_$($Config.name).dll")) {
4749
throw "Failed to build the extension"

0 commit comments

Comments
 (0)