Skip to content

Commit 54f149b

Browse files
committed
fix bug with build for arm regression
1 parent 4989adb commit 54f149b

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

ci/praktika/native_jobs.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
from .runtime import RunConfig
1919
from .settings import Settings
2020
from .utils import Shell, Utils
21+
from ci.defs.defs import ArtifactNames
2122

2223
assert Settings.CI_CONFIG_RUNS_ON
2324

@@ -403,17 +404,22 @@ def check_affected_jobs():
403404
# NOTE (strtgbb): We always want these build artifacts for our report and regression tests.
404405
# If we make FinishCIReport and regression tests into praktika jobs, we can remove this.
405406
if "CIReport" in workflow.additional_jobs:
406-
all_required_artifacts.update(["CH_AMD_RELEASE", "CH_ARM_RELEASE"])
407+
all_required_artifacts.update(
408+
[
409+
ArtifactNames.CH_AMD_RELEASE,
410+
ArtifactNames.CH_ARM_RELEASE,
411+
]
412+
)
407413
if (
408414
"Regression" in workflow.additional_jobs
409415
and "regression"
410416
not in workflow_config.custom_data.get("ci_exclude_tags", [])
411417
):
412-
all_required_artifacts.update(["CH_AMD_BINARY"])
418+
all_required_artifacts.update([ArtifactNames.CH_AMD_BINARY])
413419
if "aarch64" not in workflow_config.custom_data.get(
414420
"ci_exclude_tags", []
415421
):
416-
all_required_artifacts.update(["CH_ARM_BINARY"])
422+
all_required_artifacts.update([ArtifactNames.CH_ARM_BINARY])
417423
print(f"Including artifacts for custom jobs [{all_required_artifacts}]")
418424

419425
for job in workflow.jobs:

0 commit comments

Comments
 (0)