Skip to content

Commit cc27011

Browse files
committed
testing the linux native binaries in docker containers
1 parent 9f424b2 commit cc27011

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build/artifacts-test.cake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ singleStageRun = !IsEnabled(Context, "ENABLED_MULTI_STAGE_BUILD", false);
33
Task("Artifacts-Prepare")
44
.WithCriteria<BuildParameters>((context, parameters) => !parameters.IsRunningOnMacOS, "Artifacts-Prepare can be tested only on Windows or Linux agents.")
55
.WithCriteria<BuildParameters>((context, parameters) => parameters.IsReleasingCI, "Artifacts-Prepare works only on Releasing CI.")
6+
.IsDependentOnWhen("Zip-Files", singleStageRun)
67
.IsDependentOnWhen("Pack-Nuget", singleStageRun)
78
.Does<BuildParameters>((parameters) =>
89
{
@@ -32,7 +33,6 @@ Task("Artifacts-DotnetTool-Test")
3233
Task("Artifacts-Native-Test")
3334
.WithCriteria<BuildParameters>((context, parameters) => parameters.IsRunningOnLinux, "Artifacts-Native-Test can be tested only on Linux agents.")
3435
.WithCriteria<BuildParameters>((context, parameters) => parameters.IsReleasingCI, "Artifacts-Native-Test works only on Releasing CI.")
35-
.IsDependentOn("Zip-Files")
3636
.IsDependentOn("Artifacts-Prepare")
3737
.Does<BuildParameters>((parameters) =>
3838
{

test-scripts/Test-DotnetGlobalTool.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ param(
44
[parameter(Mandatory=$true, Position=2)][string] $repoPath
55
)
66

7-
$result = dotnet tool install GitVersion.Tool --version $version --tool-path $rootPrefix/tools --add-source $nugetPath | out-null;
7+
$result = dotnet tool install GitVersion.Tool --version $version --tool-path /tools --add-source $nugetPath | out-null;
88

99
if($LASTEXITCODE -eq 0) {
10-
& "$rootPrefix/tools/dotnet-gitversion" $repoPath /showvariable FullSemver;
10+
& "/tools/dotnet-gitversion" $repoPath /showvariable FullSemver;
1111
} else {
1212
Write-Output $result
1313
}

0 commit comments

Comments
 (0)