mirror of
https://github.com/servo/servo
synced 2026-04-26 01:25:32 +02:00
Compare commits
2 Commits
github-act
...
jdm-patch-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
522b4afd7a | ||
|
|
ad615fa07e |
@@ -74,7 +74,8 @@ build_script:
|
|||||||
- mach clean-nightlies --keep 2 --force
|
- mach clean-nightlies --keep 2 --force
|
||||||
# see https://github.com/servo/servo/issues/20664
|
# see https://github.com/servo/servo/issues/20664
|
||||||
#- mach cargo check -p compositing --no-default-features
|
#- mach cargo check -p compositing --no-default-features
|
||||||
- mach build -d -v
|
# see https://github.com/servo/servo/issues/23749
|
||||||
|
- mach build --ignore-gstreamer-package-errors -d -v
|
||||||
- mach test-unit
|
- mach test-unit
|
||||||
|
|
||||||
test: off
|
test: off
|
||||||
|
|||||||
@@ -164,13 +164,16 @@ class MachCommands(CommandBase):
|
|||||||
@CommandArgument('--very-verbose', '-vv',
|
@CommandArgument('--very-verbose', '-vv',
|
||||||
action='store_true',
|
action='store_true',
|
||||||
help='Print very verbose output')
|
help='Print very verbose output')
|
||||||
|
@CommandArgument('--ignore-gstreamer-package-errors',
|
||||||
|
action='store_true',
|
||||||
|
help='Do not fail the build for errors packaging GStreamer binaries')
|
||||||
@CommandArgument('params', nargs='...',
|
@CommandArgument('params', nargs='...',
|
||||||
help="Command-line arguments to be passed through to Cargo")
|
help="Command-line arguments to be passed through to Cargo")
|
||||||
@CommandBase.build_like_command_arguments
|
@CommandBase.build_like_command_arguments
|
||||||
def build(self, release=False, dev=False, jobs=None, params=None,
|
def build(self, release=False, dev=False, jobs=None, params=None,
|
||||||
no_package=False, verbose=False, very_verbose=False,
|
no_package=False, verbose=False, very_verbose=False,
|
||||||
target=None, android=False, magicleap=False, libsimpleservo=False, uwp=False,
|
target=None, android=False, magicleap=False, libsimpleservo=False, uwp=False,
|
||||||
features=None, **kwargs):
|
features=None, ignore_gstreamer_package_errors=False, **kwargs):
|
||||||
opts = params or []
|
opts = params or []
|
||||||
features = features or []
|
features = features or []
|
||||||
target, android = self.pick_target_triple(target, android, magicleap)
|
target, android = self.pick_target_triple(target, android, magicleap)
|
||||||
@@ -606,7 +609,8 @@ class MachCommands(CommandBase):
|
|||||||
target_triple = target or host_triple()
|
target_triple = target or host_triple()
|
||||||
if "aarch64" not in target_triple:
|
if "aarch64" not in target_triple:
|
||||||
print("Packaging gstreamer DLLs")
|
print("Packaging gstreamer DLLs")
|
||||||
if not package_gstreamer_dlls(servo_exe_dir, target_triple):
|
if not package_gstreamer_dlls(servo_exe_dir, target_triple) and \
|
||||||
|
not ignore_gstreamer_package_errors:
|
||||||
status = 1
|
status = 1
|
||||||
print("Packaging MSVC DLLs")
|
print("Packaging MSVC DLLs")
|
||||||
if not package_msvc_dlls(servo_exe_dir, target_triple):
|
if not package_msvc_dlls(servo_exe_dir, target_triple):
|
||||||
|
|||||||
Reference in New Issue
Block a user