Use explicit python in Windows CI.

This commit is contained in:
Josh Matthews 2021-02-06 14:15:57 -05:00 committed by GitHub
parent 1610bd2bc8
commit 231c2db8af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -356,8 +356,8 @@ def uwp_nightly(rdp=False):
.with_script( .with_script(
"python mach build --release --target=x86_64-uwp-windows-msvc", "python mach build --release --target=x86_64-uwp-windows-msvc",
"python mach build --release --target=aarch64-uwp-windows-msvc", "python mach build --release --target=aarch64-uwp-windows-msvc",
"mach package --release --target=x86_64-uwp-windows-msvc --uwp=x64 --uwp=arm64", "python mach package --release --target=x86_64-uwp-windows-msvc --uwp=x64 --uwp=arm64",
"mach upload-nightly uwp --secret-from-taskcluster", "python mach upload-nightly uwp --secret-from-taskcluster",
) )
.with_artifacts(appx_artifact) .with_artifacts(appx_artifact)
.with_max_run_time_minutes(3 * 60) .with_max_run_time_minutes(3 * 60)
@ -372,15 +372,14 @@ def windows_unit(cached=True, rdp=False):
.with_script( .with_script(
# Not necessary as this would be done at the start of `build`, # Not necessary as this would be done at the start of `build`,
# but this allows timing it separately. # but this allows timing it separately.
"mach fetch", "python mach fetch",
"mach build --dev", "python mach build --dev",
"mach test-unit", "python mach test-unit",
"mach smoketest --angle",
"mach package --dev", "python mach package --dev",
"mach build --dev --libsimpleservo", "python mach build --dev --libsimpleservo",
# The GStreamer plugin currently doesn't support Windows # The GStreamer plugin currently doesn't support Windows
# https://github.com/servo/servo/issues/25353 # https://github.com/servo/servo/issues/25353
# "mach build --dev -p servo-gst-plugin", # "mach build --dev -p servo-gst-plugin",
@ -401,10 +400,10 @@ def windows_nightly(rdp=False):
.with_treeherder("Windows x64", "Nightly") .with_treeherder("Windows x64", "Nightly")
.with_features("taskclusterProxy") .with_features("taskclusterProxy")
.with_scopes("secrets:get:project/servo/s3-upload-credentials") .with_scopes("secrets:get:project/servo/s3-upload-credentials")
.with_script("mach fetch", .with_script("python mach fetch",
"mach build --release", "python mach build --release",
"mach package --release", "python mach package --release",
"mach upload-nightly windows-msvc --secret-from-taskcluster") "python mach upload-nightly windows-msvc --secret-from-taskcluster")
.with_artifacts("repo/target/release/msi/Servo.exe", .with_artifacts("repo/target/release/msi/Servo.exe",
"repo/target/release/msi/Servo.zip") "repo/target/release/msi/Servo.zip")
.find_or_create("build.windows_x64_nightly." + CONFIG.tree_hash()) .find_or_create("build.windows_x64_nightly." + CONFIG.tree_hash())