Commit graph

1775 commits

Author SHA1 Message Date
Josh Matthews
cb1be84651 Remove unused salt bootstrapping process. 2023-01-19 21:35:56 -05:00
bors-servo
5a33a91bc9
Auto merge of #29238 - servo:ci-fail-install-deps, r=jdm
Fail faster on CI when Linux bootstrap fails

Raise an exception when dependencies fail to install. Also split the run phase of the Linux bootstrap so that either of these failing commands will cause the job to fail.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes do not require tests because they just change minor script issues.
2023-01-17 11:43:47 +01:00
Martin Robinson
42c3d05d2b Simplify Python code for running WPT tests
Combine `run.py` and `update.py` into `servowpt.py` in order to allow
them to share code. Import them directly into the mach script to avoid
having to call `compile` and `exec` on the code. This makes it clearer
how they are executed. In addition, move all of the setup into
`setupwpt.py` to avoid differences between tests executed via mach and
not. Finally, be more ambitious when detecting the build to use. If none
was specified, try to use the one that exists between "release" and
"debug."
2023-01-13 16:23:52 +01:00
Martin Robinson
677414730b Fail faster on CI when Linux bootstrap fails
Raise an exception when dependencies fail to install. Also split the run
phase of the Linux bootstrap so that either of these failing commands
will cause the job to fail.
2023-01-13 15:29:58 +01:00
Delan Azabani
ab578bc4cf mach filter-intermittents: add progress and --json output mode 2023-01-10 17:35:01 +08:00
dependabot[bot]
4109fa4ee9
Bump setuptools from 65.3.0 to 65.5.1 in /python
Bumps [setuptools](https://github.com/pypa/setuptools) from 65.3.0 to 65.5.1.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/CHANGES.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v65.3.0...v65.5.1)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-27 17:17:43 +00:00
michaelgrigoryan25
f8701c19bd Arch Linux patch for mach tools. 2022-12-15 15:39:48 +04:00
Michael G
1dd026cef1
Removed a typo 2022-11-28 08:44:21 +04:00
Michael G
7b246573a4
Added required dependencies for Fedora 2022-11-28 08:43:55 +04:00
Josh Matthews
b37688d0db Keep WPT import path around while running lints. 2022-11-09 22:14:38 -05:00
Josh Matthews
65a4d1646d
Update allowed license string. 2022-10-16 09:23:05 -04:00
Josh Matthews
1310daef74
Upgrade setuptools. 2022-09-04 16:01:19 -04:00
sagu
0e462a851b
Update bootstrap.py
support Ubuntu 22.04
2022-08-27 12:21:19 +02:00
cybai
4f446f8c85 Remove unnecessary always succeed flag 2022-08-16 00:18:37 +09:00
cybai
49d94cb08b Run WPT sync nightly on GitHub Action 2022-08-16 00:14:55 +09:00
bors-servo
cf4f3dd5eb
Auto merge of #28909 - teymour-aldridge:minor-updates, r=jdm
Minor updates

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #28905 (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they are very small changes

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2022-08-06 09:10:54 -04:00
Josh Matthews
ec9f0769cb
Update clangfmt version. 2022-08-06 00:48:15 -04:00
Josh Matthews
1aedaef70c
Upgade to LLVM 14 on Windows. 2022-08-05 22:08:31 -04:00
Teymour Aldridge
f70b7a5165 Fix ./mach bootstrap on fedora. 2022-08-03 20:10:09 +08:00
Thomas Hansen
ccc0ce5578
Update bootstrap to support Pop!_OS 22.04
linux mint kde neon too
2022-04-29 12:24:05 -04:00
Josh Matthews
93db99c74f
Unbreak lldb invocations. 2022-03-08 11:05:45 -05:00
Josh Matthews
af5a17f94b Update rustc to 3/6 nightly. 2022-03-06 18:11:57 -05:00
Josh Matthews
205c279ca7
Upgrade setuptools. 2022-02-06 19:58:21 -05:00
Wu Yu Wei
edd082cdbc Allow bootstrap on Pop!_OS 21.10 2021-12-30 15:40:20 +08:00
Max von Forell
127463a2c5 Update more deprecated python imports.
Signed-off-by: Max von Forell <max@vonforell.de>
2021-12-26 15:43:40 +01:00
Josh Matthews
ba9305438e Update deprecated python import. 2021-12-21 14:24:00 -05:00
Josh Matthews
f4de057784 Vendor mach-1.0.0. 2021-12-21 10:57:18 -05:00
Gio de Guzman
43b38e3e37 update Ubuntu version check to > 21.10
Update clang-format version check to use find() instead of startswith() to deal with distro-specific discrepancy
2021-12-15 02:04:11 -06:00
yvt
332de00336 chore(mach): update the required clang-format version to 13 2021-10-16 10:17:15 +09:00
yvt
8f38a44ee7 chore(mach): update the required clang-format version to 12 2021-10-04 09:39:31 +09:00
yvt
3d31ee5594 chore(mach): upgrade blessings to 1.7 2021-09-20 16:19:42 +09:00
bors-servo
c56783caa0
Auto merge of #28598 - witte:simpleservo-macos, r=jdm
Fix simpleservo binary check on macos

<!-- Please describe your changes on the following line: -->
When compiling libsimpleservo on MacOS 11.5.2 I would get an error at the end of the process saying
```
Error running mach:

    ['build', '-d', '--libsimpleservo']

The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You can invoke |./mach busted| to check if this issue is already on file. If it
isn't, please use |./mach busted file| to report it. If |./mach busted| is
misbehaving, you can also inspect the dependencies of bug 1543241.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

servo.command_base.BuildNotFound: No Servo binary found. Perhaps you forgot to run `./mach build`?

  File "/Users/yuriwitte/_HtmlTests/servo/python/servo/build_commands.py", line 734, in build
    self.get_binary_path(release, dev, target=target, simpleservo=libsimpleservo)
  File "/Users/yuriwitte/_HtmlTests/servo/python/servo/command_base.py", line 394, in get_binary_path
    raise BuildNotFound('No Servo binary found.'
```
The binary is there, it's just that `get_binary_path` on `command_base.py` checks for a libsimpleservo **.so** instead of a **.dylib**. This pr fixes this check.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix: didn't find a specific issue for this, but these two are also related to file extensions on MacOS:
https://github.com/servo/servo/issues/27654
https://github.com/servo/servo/issues/27318

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because: they _are_ the tests I guess?

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2021-09-14 15:03:24 -04:00
Yuri Witte
d767191230 Fix simpleservo binary check on macos 2021-09-12 18:24:15 -03:00
Florian-Schoenherr
836b212acd docs: clarify 'clean' command
Signed-off-by: Florian-Schoenherr <florian.schoenherr99@gmail.com>
2021-08-21 12:43:17 +02:00
David Heidelberg
aa0484d76b
mach: cleanup after dropping Python 2 support
Signed-off-by: David Heidelberg <david@ixit.cz>
2021-07-19 14:24:29 +02:00
bors-servo
42d7892d88
Auto merge of #28473 - jdm:codesign-build, r=jdm
Enable codesigning for non-nightly UWP builds
2021-07-02 18:23:22 -04:00
Josh Matthews
137236dc2a Load codesigning secret without JSON. 2021-07-02 18:22:48 -04:00
Tristan Matthews
6b22411aab bootstrap: add support for Ubuntu 21.04
Signed-off-by: Tristan Matthews <tmatth@videolan.org>
2021-07-02 01:23:32 -04:00
bors-servo
d12aa889a6
Auto merge of #28463 - mkg20001:nixos-mach, r=jdm
add NixOS support to mach and automatically re-launch mach in nix-shell

<!-- Please describe your changes on the following line: -->

This is a followup for #28454 which adds nixos support directly to mach, saving the user from typing `nix-shell` everytime

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they just extend mach

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2021-06-25 10:20:57 -04:00
Maciej Krüger
49fc87f385
extend message about nixOS shell 2021-06-21 09:13:47 +02:00
yvt
262a41dd2a Use #!/usr/bin/env bash in shell scripts for NixOS compatibility
Signed-off-by: yvt <i@yvt.jp>
2021-06-14 22:06:09 +09:00
Maciej Krüger
8e48b6fd74
add NixOS support to mach and automatically re-launch mach in nix-shell 2021-06-04 10:56:41 +02:00
Josh Matthews
172274d484 Add UWP builds to github actions. 2021-05-29 16:05:02 -04:00
Josh Matthews
a82b268be0 Convert more taskcluster jobs to Github Actions. 2021-05-23 11:16:09 -04:00
bors-servo
5245f9ff27
Auto merge of #28408 - jdm:pyfixes, r=jdm
Python3 fixes

Fixes #28363.
2021-05-03 00:08:41 -04:00
Josh Matthews
a2356ef105 Fix bytes/string py3 confusion. 2021-05-03 00:07:33 -04:00
Josh Matthews
8d0320de75 Fix deprecated gzipfile constructor argument. 2021-05-03 00:07:12 -04:00
zhengrenzhe
7aca943d5b feat: fix build error on apple m1 2021-04-24 19:15:59 +08:00
dependabot[bot]
d6a2c0676f
build(deps): bump pyyaml from 5.1 to 5.4 in /python/tidy
Bumps [pyyaml](https://github.com/yaml/pyyaml) from 5.1 to 5.4.
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/compare/5.1...5.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-25 22:39:11 +00:00
Josh Matthews
f8b68ec7f7
Update mozdebug for py3 fixes. 2021-03-21 13:24:20 -04:00