Skip to content
Permalink
Browse files

fixup! fixup! fixup! fixup! fixup! Add CI artifacts and nightly build…

… for UWP.
  • Loading branch information...
jdm committed Sep 11, 2019
1 parent 8431889 commit 27ffaf684a5913c84e701184b44b71c41ca5d580
Showing with 14 additions and 2 deletions.
  1. +14 −2 python/servo/package_commands.py
@@ -743,7 +743,6 @@ def build_uwp(platforms, dev, msbuild_dir):
if dev and len(platforms) > 1:
raise Exception("Debug package with multiple architectures is unsupported")

platforms = '|'.join(platforms)

if dev:
Configuration = "Debug"
@@ -756,11 +755,24 @@ def build_uwp(platforms, dev, msbuild_dir):
# /p:Configuration="Debug" /p:Platform="x64" /property:AppxBundle=Always;AppxBundlePlatforms="x64"
msbuild = path.join(msbuild_dir, "msbuild.exe")
project = path.join('.', 'support', 'hololens', 'ServoApp.sln')
for platform in platforms:
subprocess.check_call([
msbuild,
"/m",
"/p:project=ServoApp",
project,
"/p:Configuration=" + Configuration,
'/p:Platform=%s' % platforms,
])

# Generate an appxbundle by combining all of the previous builds.
subprocess.check_call([
msbuild,
"/m",
"/p:project=ServoApp",
project,
"/p:Configuration=" + Configuration,
'/p:AppxBundle=Always;AppxBundlePlatforms=%s' % platforms,
"/p:AppxBundle=Always",
"/p:Platform=%s" % platforms[0],
"/p:AppxBundlePlatforms=%s" % '|'.join(platforms),
])

0 comments on commit 27ffaf6

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