Skip to content

Commit 08e2c84

Browse files
committed
Fix libc filtering in the matrix generator
1 parent 4960c16 commit 08e2c84

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ci-matrix.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,11 @@ def should_include_entry(entry: dict[str, str], filters: dict[str, set[str]]) ->
7171
if filters.get("arch") and entry["arch"] not in filters["arch"]:
7272
return False
7373

74-
if filters.get("libc") and entry.get("libc") not in filters["libc"]:
74+
if (
75+
filters.get("libc")
76+
and entry.get("libc")
77+
and entry["libc"] not in filters["libc"]
78+
):
7579
return False
7680

7781
if filters.get("build"):

0 commit comments

Comments
 (0)