Skip to content

Commit e17faa9

Browse files
authored
Update the crate build runner logic (#674)
Using the free GitHub runners for Linux breaks those builds :)
1 parent 449d3e7 commit e17faa9

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

ci-matrix.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,13 @@ def generate_crate_build_matrix_entries(
159159
{
160160
"platform": platform,
161161
"arch": arch,
162-
"runner": find_runner(runners, platform, arch, True),
162+
# Use the GitHub runner for Windows, because the Depot one is
163+
# missing a Rust toolchain. On Linux, it's important that the the
164+
# `python-build` runner matches the `crate-build` runner because of
165+
# GLIBC version mismatches.
166+
"runner": find_runner(
167+
runners, platform, arch, True if platform == "windows" else False
168+
),
163169
"crate_artifact_name": crate_artifact_name(
164170
platform,
165171
arch,

0 commit comments

Comments
 (0)