Skip to content
Permalink
Browse files

Add Windows arm64 build.

  • Loading branch information...
jdm committed May 28, 2019
1 parent 2ac916b commit 8df429b84e8f82b059eafa1d4a7ae7c0d77136b7
Showing with 32 additions and 17 deletions.
  1. +32 −17 etc/taskcluster/decision_task.py
@@ -32,6 +32,7 @@ def main(task_for):
linux_tidy_unit_docs,
windows_unit,
windows_x86,
windows_arm64,
macos_unit,
magicleap_dev,
android_arm32_dev,
@@ -58,9 +59,9 @@ def main(task_for):

"try-mac": [macos_unit],
"try-linux": [linux_tidy_unit_docs],
"try-windows": [windows_unit, windows_x86],
"try-windows": [windows_unit, windows_x86, windows_arm64],
"try-magicleap": [magicleap_dev],
"try-arm": [linux_arm32_dev, linux_arm64_dev],
"try-arm": [linux_arm32_dev, linux_arm64_dev, windows_arm64],
"try-wpt": [linux_wpt],
"try-wpt-mac": [macos_wpt],
"try-wpt-android": [android_x86_wpt],
@@ -134,6 +135,9 @@ def mocked_only():
"LIB": "%HOMEDRIVE%%HOMEPATH%\\gst\\gstreamer\\1.0\\x86_64\\lib;%LIB%",
"GSTREAMER_1_0_ROOT_X86_64": "%HOMEDRIVE%%HOMEPATH%\\gst\\gstreamer\\1.0\\x86_64\\",
},
"arm64": {
# No GStreamer support for arm64 windows yet.
},
"all": {
"PYTHON3": "%HOMEDRIVE%%HOMEPATH%\\python3\\python.exe",
"LINKER": "lld-link.exe",
@@ -360,16 +364,24 @@ def windows_x86():
return (
windows_build_task("Dev build", package=False, arch="x86")
.with_treeherder("Windows x86")
.with_env(**{
"VCVARSALL_PATH": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Auxiliary\\Build"
})
.with_script(
"python mach build --dev --target i686-pc-windows-msvc",
)
.find_or_create("build.windows_x86_dev." + CONFIG.task_id())
)


def windows_arm64():
return (
windows_build_task("Dev build", package=False, arch="arm64")
.with_treeherder("Windows arm64")
.with_script(
"python mach build --dev --target aarch64-pc-windows-msvc",
)
.find_or_create("build.windows_arm64_dev." + CONFIG.task_id())
)


def windows_unit():
return (
windows_build_task("Dev build + unit tests")
@@ -726,19 +738,22 @@ def windows_build_task(name, package=True, arch="x86_64"):
path="python3",
)
.with_rustup()
.with_repacked_msi(
url=("https://gstreamer.freedesktop.org/data/pkg/windows/" +
"%s/gstreamer-1.0-%s-%s.msi" % (version, arch, version)),
sha256=hashes["non-devel"][arch],
path="gst",
)
.with_repacked_msi(
url=("https://gstreamer.freedesktop.org/data/pkg/windows/" +
"%s/gstreamer-1.0-devel-%s-%s.msi" % (version, arch, version)),
sha256=hashes["devel"][arch],
path="gst",
)
)
if arch in hashes["non-devel"] and arch in hashes["devel"]:
task = (
task.with_repacked_msi(
url=("https://gstreamer.freedesktop.org/data/pkg/windows/" +
"%s/gstreamer-1.0-%s-%s.msi" % (version, arch, version)),
sha256=hashes["non-devel"][arch],
path="gst",
)
.with_repacked_msi(
url=("https://gstreamer.freedesktop.org/data/pkg/windows/" +
"%s/gstreamer-1.0-devel-%s-%s.msi" % (version, arch, version)),
sha256=hashes["devel"][arch],
path="gst",
)
)
if package:
task = (
task

0 comments on commit 8df429b

Please sign in to comment.
You can’t perform that action at this time.