Commit graph

1741 commits

Author SHA1 Message Date
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
Josh Matthews
6f70bc8448
Update boto3 2021-03-14 13:30:12 -04:00
bors-servo
5dd0cba51d
Auto merge of #27865 - servo:github-actions-dev, r=jdm
Add Github Actions workflow for mac/linux/windows builds
2021-03-11 21:08:05 -05:00
Josh Matthews
3b0b810093
Support extra arguments when running with --debug. 2021-03-05 19:43:33 -05:00
Soveu
05cdb0cdb5 add missing llvm package for fedora 2021-02-26 15:19:52 +01:00
Josh Matthews
a6b872a9d1 Ensure clang-cl is always used in windows builds. 2021-02-26 04:20:23 -05:00
Josh Matthews
30143558b3 Don't package gstreamer when it's disabled. 2021-02-26 04:20:23 -05:00
bors-servo
6e1350f3aa
Auto merge of #27647 - jdm:build-std, r=SimonSapin
Use build-std instead of xargo.

The changes to num-integer and indexmap are to work around https://github.com/cuviper/autocfg/issues/34.
2021-02-25 14:28:24 -05:00
Josh Matthews
9535f228f3 Use build-std instead of xargo. 2021-02-25 10:15:05 -05:00
Simon Sapin
4353d534d4 Port ./mach rustup to Python 3 2021-02-25 09:09:18 +01:00
bors-servo
60b642968b
Auto merge of #28193 - servo:jdm-patch-46, r=jdm
Fix more python2isms
2021-02-25 01:19:51 -05:00
bors-servo
19d1544b66
Auto merge of #27619 - servo:rustup, r=jdm
Upgrade to rustc 1.48.0-nightly (623fb90b5 2020-09-26)

https://github.com/rust-lang/hashbrown/pull/159 reduced `size_of::<HashMap>()`
2021-02-25 00:11:29 -05:00
Josh Matthews
dbc7919a28
Fix encoding call. 2021-02-24 23:08:05 -05:00
bors-servo
1b58747ce1
Auto merge of #28169 - servo:jdm-patch-49, r=jdm
Fix some residual python2isms

Fixes nightly and doc builds.
2021-02-19 17:35:10 -05:00
Josh Matthews
462237db4c
Fix str/bytes confusion when uploading to s3. 2021-02-19 10:28:15 -05:00
Josh Matthews
e1f0ae8b0b
Updat clang-fmt version check. 2021-02-19 10:20:08 -05:00
Josh Matthews
52e1a482c4
Update to LLVM 11. 2021-02-18 23:38:04 -05:00
Vincent Ricard
a627dde0d0 Port some code to Python3 2021-02-18 09:35:46 -05:00
Simon Sapin
ee74a64f53 Silence the warning about rustup --version v.s. rustc --version 2021-01-26 09:23:03 +01:00
Simon Sapin
33651a94ed Upgrade Xargo to v0.3.22
This includes a “Fix for changed rustc directory layout.” change:
https://github.com/japaric/xargo/blob/master/CHANGELOG.md#v0322---2020-07-29

We use Xargo to compile rust-std for Windows UWP targets.
I built `xargo.exe` on Taskcluster with task
https://community-tc.services.mozilla.com/tasks/IHwGq_ViRpGuomBx82XmpQ
created through https://community-tc.services.mozilla.com/tasks/create
with this definition:

```yaml
provisionerId: proj-servo
workerType: win2016
schedulerId: taskcluster-github
created: '2021-01-25T19:39:29.952Z'
deadline: '2021-01-26T19:39:29.952Z'
expires: '2022-01-25T19:39:29.952Z'
payload:
  mounts:
    - file: rustup-init.exe
      content:
        url: https://win.rustup.rs/x86_64
  command:
    - '%HOMEDRIVE%%HOMEPATH%\rustup-init.exe --profile=minimal -y'
    - set PATH=%HOMEDRIVE%%HOMEPATH%\.cargo\bin;%PATH%
    - |-
      cargo install xargo --version 0.3.22
      copy %HOMEDRIVE%%HOMEPATH%\.cargo\bin\xargo.exe .
  artifacts:
    - name: public/xargo.exe
      path: xargo.exe
      type: file
      expires: '2022-01-25T15:07:23.782706Z'
  maxRunTime: 5400
metadata:
  name: Xargo build for Windows
  description: ''
  owner: infra@servo.org
  source: https://community-tc.services.mozilla.com/tasks/create
```

(Note the "update timestamps" button in the bottom-right menu.)

I then created a ZIP file that contains `xargo-v0.3.22/xargo.exe` and
uploaded it with `aws s3 cp ./xargo-v0.3.22.zip s3://servo-deps-2/msvc-deps/`
where our build system can find it.
2021-01-26 09:14:44 +01:00
Vincent Ricard
02e9fc6ff9 Fix bootstrap error on Ubuntu 20.10 2021-01-14 20:00:20 +01:00
Simon Schmeisser
526faa03f4
Add support for KDE neon in bootstrap
it's based on Ubuntu but provides recent (User edition) or git versions of the KDE Plasma desktop environment and ecosystem
2020-12-27 21:34:11 +01:00
Josh Matthews
f0e8d6ee80
Remove unneeded python dependencies. 2020-11-30 09:04:21 -05:00
bors-servo
917fd001fe
Auto merge of #27748 - servo:jdm-patch-47, r=jdm
Fix mac packaging with recent gstreamer.

Fixes #27654.
2020-11-13 11:56:22 -05:00
Josh Matthews
19b9314b48 Fix gstreamer packaging on mac. 2020-11-13 11:55:56 -05:00
Simon Sapin
68b5657575 Use new S3 buckets
CC https://github.com/servo/project/issues/25
2020-11-11 21:02:51 +01:00
Josh Matthews
261cf4f641 Enable gstreamer media stack for UWP targets. 2020-08-06 18:27:59 -04:00
bors-servo
9fbdbddb0c
Auto merge of #27402 - kunalmohan:webgpu-cts, r=jdm
Add a copy of WebGPU CTS to wpt.

<!-- Please describe your changes on the following line: -->
The test suite is generated from `glsl-dependent` branch in https://github.com/gpuweb/cts
We already have 6/44 tests passing and a number of subtests in other tests also pass.

r?@jdm
cc @kvark

---
<!-- 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 fix #27395  (GitHub issue number if applicable)

<!-- Either: -->
- [X] These changes do not require tests because we don't have tests for tests.

<!-- 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. -->
2020-08-04 14:12:45 -04:00
Kunal Mohan
75fb6ca589 Improve intermittent filtering 2020-08-04 21:42:53 +05:30
Wyatt Turner
8b89688b48 Support Linux Mint 20.04 2020-08-02 21:55:39 -07:00
Josh Matthews
64df2c2d60 Fix tidy check when no duplicate versions present. 2020-07-31 10:42:01 -04:00
Kunal Mohan
32a4104f4a changes made for cts to work 2020-07-31 11:07:19 +05:30
Josh Matthews
f21b045cb4
Ignore UWP restrictions for host binaries. 2020-07-30 10:11:12 -04:00
Josh Matthews
4e3621e91e Add more gstreamer plugins to nightly builds. 2020-07-27 23:22:41 -04:00
bors-servo
7eda4d2d86
Auto merge of #27377 - CYBAI:fix-apostrophes, r=jdm
Handle apostrophes for whatwg URL tidy 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
- [x] These changes fix #27366
- [x] These changes do not require tests because it will improve the tidy check for WHATWG URL

<!-- 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. -->
2020-07-24 12:41:39 -04:00