Skip to content

Commit 3fbd9a1

Browse files
committed
Fix Test task: skip arm64-unsupported versions on arm64 runners
1 parent 35cd03d commit 3fbd9a1

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

firebird-docker.build.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,12 @@ task Test FilteredAssets, {
345345
$asset.tags.($_.Name) | Select-Object -First 1
346346
}
347347

348+
# Skip versions not supported on the current host architecture
349+
if ($hostArch -eq 'arm64' -and -not $hasArm64) {
350+
Write-Build Yellow "----- [$($asset.version)] skipped (no arm64 build) -----"
351+
return
352+
}
353+
348354
Write-Build Magenta "----- [$($asset.version)] -----"
349355

350356
# Test host architecture

0 commit comments

Comments
 (0)