Skip to content

Commit d1053b9

Browse files
authored
matrix.py: bump GCC version from 14 to 15 (#408)
See: libbpf/ci#199 Signed-off-by: Ihor Solodrai <[email protected]>
1 parent b15f178 commit d1053b9

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/scripts/matrix.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from typing import Any, Dict, Final, List, Optional, Set, Union
99

1010
import requests
11+
import requests.utils
1112

1213
MANAGED_OWNER: Final[str] = "kernel-patches"
1314
MANAGED_REPOS: Final[Set[str]] = {
@@ -17,7 +18,7 @@
1718

1819
DEFAULT_SELF_HOSTED_RUNNER_TAGS: Final[List[str]] = ["self-hosted", "docker-noble-main"]
1920
DEFAULT_GITHUB_HOSTED_RUNNER: Final[str] = "ubuntu-24.04"
20-
DEFAULT_GCC_VERSION: Final[int] = 14
21+
DEFAULT_GCC_VERSION: Final[int] = 15
2122
DEFAULT_LLVM_VERSION: Final[int] = 20
2223

2324
RUNNERS_BUSY_THRESHOLD: Final[float] = 0.8
@@ -152,15 +153,11 @@ def build_runs_on(self) -> List[str]:
152153
case Arch.S390X:
153154
return DEFAULT_SELF_HOSTED_RUNNER_TAGS + [Arch.X86_64.value]
154155
case Arch.AARCH64:
155-
return DEFAULT_SELF_HOSTED_RUNNER_TAGS + [Arch.AARCH64.value]
156+
return DEFAULT_SELF_HOSTED_RUNNER_TAGS + [Arch.X86_64.value]
156157

157158
# For managed repos, check the busyness of relevant self-hosted runners
158159
# If they are too busy, use codebuild
159160
runner_arch = self.arch
160-
# We don't build s390x kernel on s390x runners, because it's too slow
161-
# Cross-compiling on x86_64 is faster
162-
if runner_arch == Arch.S390X:
163-
runner_arch = Arch.X86_64
164161
runners = runners_by_arch(runner_arch)
165162
counts = count_by_status(runners)
166163
online = counts["idle"] + counts["busy"]

0 commit comments

Comments
 (0)