Commit graph

374 commits

Author SHA1 Message Date
Narfinger
2353c0089f
OHOS CI: Allow run.json to be overwritten in upload action. (#37083)
The CI does multiple build runs so we need to handle it being
overwritten.

Multiple different build of OHOS servoshell would fight for who is first
to upload run.json and the other would error out.
Now we allow both to succeed by overwrite the run.json

Testing: Testrun:
4268974880

Signed-off-by: Narfinger <Narfinger@users.noreply.github.com>

Signed-off-by: Narfinger <Narfinger@users.noreply.github.com>
2025-05-23 02:17:41 +00:00
Narfinger
4c1a09e17b
Improved OHOS Benchmarking to use different websites (#37055)
Workflow changes includes to allow a given runs.json file to be read by
hitrace-bench and perform the benchmarks.
It depends on the updated CI tools. Requires CI modification in
https://github.com/servo/ci-runners/pull/36.

Testing: This change was tested on the CI.
4261677656
A corresponding bencher output is here:
99a369f7-e6c3-4141-83f9-0ecddac484a5?back=L2NvbnNvbGUvcHJvamVjdHMvc2Vydm8tY2kvcmVwb3J0cz9wZXJfcGFnZT04JnBhZ2U9MQ%3D%3D

Signed-off-by: Narfinger <Narfinger@users.noreply.github.com>
2025-05-22 01:31:35 +00:00
Narfinger
d8837e4a52
Allow OHOS bencher to get the model name for testbed. (#37026)
Allow OHOS bencher to get the model name for testbed.

Currently we rely on simple `hdc bugreport` and awk. `hdc bugreport`
spits out a lot of information so it is kind of slow. But that should be
ok.
Working run (with the usual caveats of removing the checks in the file)
can be found here:
1506965290

Signed-off-by: Narfinger <Narfinger@users.noreply.github.com>
2025-05-19 10:21:34 +00:00
Narfinger
3af0992ead
Added a new workflow that benchmarks simple startup and loading of servo.org on HarmonyOS. (#36878)
Added a new workflow that benchmarks simple startup and loading of
servo.org on HarmonyOS.
Needs https://github.com/servo/ci-runners/pull/34 to be merged and
applied to the runners.

Signed-off-by: Narfinger <Narfinger@users.noreply.github.com>
2025-05-15 12:52:33 +00:00
Oriol Brufau
1499e2a874
Remove some references to layout 2013 vs layout 2020 (#37007)
We no longer have both layout systems.

Testing: not needed (no behavior change)

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-05-14 19:53:48 +00:00
Narfinger
bbb2b82aee
Use servoshell custom logging domain for OHOS workfloew (#36979)
Use the introduced logging domain on OHOS to get the log on the
workflow. This improves the reliability of getting the logs if
servoshell crashed.

Testing: This was tested on the CI Runner

Signed-off-by: Narfinger <Narfinger@users.noreply.github.com>
2025-05-12 16:03:06 +00:00
sagudev
c0339dd360
CI: add build-args (#36947)
Add `build-args` input in CI and try_parser job definition so we can
pass own build args to `./mach build`

Testing: There are tests for try parser and I tested CI in my fork.
Fixes: partial fix #36823

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2025-05-12 07:41:12 +00:00
sagudev
34e21157de
Fixup dependabot.yml (#36642)
fixups https://github.com/servo/servo/pull/36641, as yaml was not valid
(one ` ` to many).

Testing: No testing for bot config.

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2025-04-22 05:44:47 +00:00
sagudev
a69efed6e9
dependabot: group objc2 crates (#36641)
or else their PRs will fail in tidy:
https://github.com/servo/servo/pull/36637
https://github.com/servo/servo/pull/36635

Testing: It's bot config so no testing is possible.

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2025-04-22 04:39:36 +00:00
sagudev
bd9242acfa
CI: Add number_of_chunks (#36584)
This allows changing number of chunks used for WPT testing (sometimes
useful for WebGPU).

Testing: Manual try runs
Fixes: #30062

---------

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2025-04-18 06:38:28 +00:00
Mukilan Thiyagarajan
3c4a4d53dd
ci: use Ubuntu 22.04 for nightly jobs (#36377)
The upstream PR (web-platform-tests/wpt#51084) to update the WPT.fyi
docker image to 22.04 landed a few days back. No new issues have been
discovered so far in wpt.fyi, so it should be safe for us to move to
22.04 for the nightly builds.

Fixes #35747.

---------

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2025-04-07 11:32:32 +00:00
Alex Touchet
5a5e49ce47
Update Dependabot stylo crates again (#36154)
Signed-off-by: Alex Touchet <26315797+atouchet@users.noreply.github.com>
2025-03-25 18:03:47 +00:00
sagudev
f65b697a5a
Update names of stylo crates in dependabot.yml (#36137)
This is response to https://github.com/servo/servo/pull/36128 that is caused by renames that happened in upstream https://github.com/servo/stylo/pull/150.

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2025-03-25 12:16:02 +00:00
MDCODE247
3b293f4949
Remove references to 2020 layout in try_parser.py (#36047)
* Remove references to 2020 layout in try_parser.py

Signed-off-by: MDCODE247 <ammedabubakard500@gmail.com>

* Removed all references to CHANGE

Signed-off-by: MDCODE247 <ammedabubakard500@gmail.com>

* Updated .yml workflow files

Signed-off-by: MDCODE247 <ammedabubakard500@gmail.com>

* update more references

Signed-off-by: MDCODE247 <ammedabubakard500@gmail.com>

* fixed right hand argument

Signed-off-by: MDCODE247 <ammedabubakard500@gmail.com>

* Fixing more references

Signed-off-by: MDCODE247 <ammedabubakard500@gmail.com>

* mach: remove unused import in try_parser.py

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>

* ci: update reference to wpt_layout in try.yml

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>

---------

Signed-off-by: MDCODE247 <ammedabubakard500@gmail.com>
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2025-03-25 11:19:48 +00:00
sagudev
8b8b447ef0
Fix WPT Import (#36101)
Log files were renamed in #36037

related https://github.com/servo/servo/pull/36098

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2025-03-23 10:39:34 +00:00
sagudev
b641c7be96
ci: Fix WPT import (#36098)
Log files were renamed in https://github.com/servo/servo/pull/36037

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2025-03-23 08:21:49 +00:00
Richard Dushime
cb5dd3172a
[New]Simplify mac-wpt workflow. (#36068)
* [New]Simplify mac-wpt workflow

Signed-off-by: richarddushime <mudaherarich@gmail.com>

* Fix Requested changes

Signed-off-by: richarddushime <mudaherarich@gmail.com>

* Remove wpt-layout in mac.yml

Signed-off-by: richarddushime <mudaherarich@gmail.com>

---------

Signed-off-by: richarddushime <mudaherarich@gmail.com>
2025-03-22 03:28:22 +00:00
Kelechi Ebiri
2e3e092f19
chore: simplify linux workflow (#36037)
* chore: simplify linux workflow

Signed-off-by: TG <ebiritg@gmail.com>

* chore: remove occurances of wpt-layout

Signed-off-by: TG <ebiritg@gmail.com>

* chore: remove invalid workflow in main.yml file

Signed-off-by: TG <ebiritg@gmail.com>

* chore: retain wpt-layout workflow as requested

Signed-off-by: TG <ebiritg@gmail.com>

---------

Signed-off-by: TG <ebiritg@gmail.com>
2025-03-20 10:52:19 +00:00
Oriol Brufau
84a1b7d4a5
Fix WPT importer (#36018)
In #35946 I accidentally removed a necessary line of code.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-03-18 02:15:36 +00:00
Oriol Brufau
e2daeeaceb
Change github workflows to not compile legacy layout (#35946)
Since it will be removed in #35943

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-03-12 22:09:21 +00:00
Samson
ae2c9090cc
Allow try runs to all users with label permissions (#35911)
504859292

Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com>
2025-03-11 18:10:01 +00:00
Alex Touchet
e928697982
Add epaint_default_fonts to egui Dependabot group (#35823)
Signed-off-by: Alex Touchet <26315797+atouchet@users.noreply.github.com>
2025-03-07 12:14:21 +00:00
Jonathan Schwender
fc891fff11
hos CI: fix checking success (#35807)
In #35804 we fixed the bundlename, but I assumed the servoshell in
the grep expression was referring to the libraryname.
As it turns out the tracelines start with the bundlename,
so we need to update this name too.
This is the last line in the hos CI, and the grep
expression works locally so this time CI should really be fixed.
As already mentioned in the previous PR, we can't really test this
well, since this job only runs on self-hosted runners, which check out
the github action yaml version from the main branch.

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
2025-03-06 07:36:33 +00:00
Jonathan Schwender
32078a2a5a
hos CI: fix app bundlename (#35804)
In 78f7d525cc we
renamed the app bundle. This adapts the CI job
to use the same name.

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
2025-03-06 03:16:04 +00:00
Samson
b56a3caea0
Generate Try Configuration use ubuntu-22.04 (#35746)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2025-03-02 14:21:22 +00:00
Simon Wülker
be6765447d
Update to rust 1.85 (#35628)
* Update to rust 1.85

This is needed for cargo-deny

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

* Upgrade crown

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

* Clippy fixes

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

* Re-upgrade cargo-deny to 0.18

Keeping it locked to 0.18 just in case they
update their required rustc version again

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

---------

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
2025-02-24 17:44:35 +00:00
Samson
d78f7b2d78
ci: Always install crown, even on self-hosted (#35637)
Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com>
2025-02-24 17:15:46 +00:00
Oriol Brufau
e74bb8de15
Prevent lint job from trying to use incompatible cargo-deny version (#35632)
Lint jobs were failing because they would try to install the latest
version of cargo-deny (0.18.0), which requries rustc 1.85.0 or newer,
while the currently active rustc version is 1.83.0.

Therefore this makes it install version 0.17 instead.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-02-24 12:47:51 +00:00
Xiaocheng Hu
2b0d2ecc73
Rebase and squash (#35567)
Signed-off-by: Xiaocheng Hu <xiaochengh.work@gmail.com>
2025-02-21 11:54:25 +00:00
Samson
0d51578cc3
ci: Free some disc space on GitHub hosted runners (#35181)
Speculative fix for #35179

Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com>
2025-02-04 06:55:13 +00:00
Delan Azabani
5a0a60efc1
CI: temporarily stop running libservo builds by default (#35180)
Signed-off-by: Delan Azabani <dazabani@igalia.com>
2025-01-27 08:44:52 +00:00
Delan Azabani
2db828f0c7
Add minimal libservo example using winit (#35118)
* Add minimal libservo example using winit

Signed-off-by: Delan Azabani <dazabani@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>

* CI: include examples in libservo compile test

Signed-off-by: Delan Azabani <dazabani@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>

* CI: build libservo with `continue-on-error`

Signed-off-by: Delan Azabani <dazabani@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>

---------

Signed-off-by: Delan Azabani <dazabani@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2025-01-23 12:15:53 +00:00
Delan Azabani
0af1204aa3
Fix building libservo with cargo build -p libservo (#35116)
* Fix building libservo with `cargo build -p libservo`

Signed-off-by: Delan Azabani <dazabani@igalia.com>

* Test the libservo build in CI

Signed-off-by: Delan Azabani <dazabani@igalia.com>

* Work around build issue on macOS (#34517)

Signed-off-by: Delan Azabani <dazabani@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>

---------

Signed-off-by: Delan Azabani <dazabani@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2025-01-23 09:05:10 +00:00
Jonathan Schwender
935364b7bc
ci: Fix ohos test artifact name (#35143)
I'm not quite sure why a workflow run would
have a duplicate artifact name for test_output,
but hopefully this patch should fix upload failures
such as in 3603785058

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
2025-01-23 07:19:59 +00:00
Mukilan Thiyagarajan
76530a857e
ci: remove explicit permissions block in bencher.yml (#35142)
This is causing a validation error because Github's static analysis sees
nightly.yml is calling bencher.yml but the latter requires permissions
that are more relaxed than the former (for android & ohos). Since other
workflows are not failing validation, they presumably already run with
default permissions that are satisfy bencher.yml's requirements
(bencher.yml is not relaxing the parent workflow's permissions as that
would defeat the usefulness of the validation that Github is enforcing).

In the long run we should move to default-restrictive permissions and
then have the top-level workflows declare the required permissions. The
permissions in bencher.yml seems to serve only as machine-checked
documentation, but as it is causing issues with nested calls that are
not possible at runtime, it seems like we have to either pass additional
permissions in top-level workflows (that are not needed, so that is bad)
or not declare them in nested workflows.

Fixes #35141.

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2025-01-23 05:16:56 +00:00
Jonathan Schwender
e3d347d4b4
CI: Test ohos on HarmonyOS device (#35006)
* ohos: Add event for page loaded

We can use this to check if we succeeded.

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>

* CI: Test OpenHarmony on self-hosted runner

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>

* fix typo

Co-authored-by: Mukilan Thiyagarajan <mukilanthiagarajan@gmail.com>
Signed-off-by: Jonathan Schwender <55576758+jschwe@users.noreply.github.com>

---------

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
Signed-off-by: Jonathan Schwender <55576758+jschwe@users.noreply.github.com>
Co-authored-by: Mukilan Thiyagarajan <mukilanthiagarajan@gmail.com>
2025-01-23 03:35:51 +00:00
DK Liao
554d4a6420
fix: ohos workflow expression error (#35109)
Signed-off-by: DK Liao <dklassic@gmail.com>
2025-01-21 22:06:50 +00:00
Alex Touchet
6becee2f2e
Create servo-media Dependabot group (#35098)
Signed-off-by: Alex Touchet <26315797+atouchet@users.noreply.github.com>
2025-01-20 22:45:47 +00:00
DK Liao
9ceb957dd8
feat: Track the binary size for all the different platforms (#34744)
* feat: Track the binary size for all the different platforms

Signed-off-by: DK Liao <dklassic@gmail.com>

* Add target to bencher job name

Signed-off-by: DK Liao <dklassic@gmail.com>

* Update .github/workflows/bencher.yml

Co-authored-by: Martin Robinson <mrobinson@igalia.com>
Signed-off-by: DK Liao <dklassic@gmail.com>

---------

Signed-off-by: DK Liao <dklassic@gmail.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2025-01-20 09:41:23 +00:00
Delan Azabani
2cd5e1356c
CI: use new self-hosted runner servers (#35002)
Signed-off-by: Delan Azabani <dazabani@igalia.com>
2025-01-15 12:11:43 +00:00
Delan Azabani
c4c85affb5
CI: use new API for taking a runner (#34983)
Signed-off-by: Delan Azabani <dazabani@igalia.com>
2025-01-14 10:04:21 +00:00
Delan Azabani
acb6515837
CI: disable self-hosted runners for nightly.yml (#34982)
Signed-off-by: Delan Azabani <dazabani@igalia.com>
2025-01-14 04:23:50 +00:00
Delan Azabani
df13d3335f
CI: use self-hosted runners for macOS build jobs (#34868)
Signed-off-by: Delan Azabani <dazabani@igalia.com>
2025-01-07 11:34:30 +00:00
Samson
9e7ab3f8de
chore: Update wgpu (#34795)
* Update wgpu

0f5f0580e4

Most notable change is https://github.com/gfx-rs/wgpu/pull/6785

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* Remove silencing of wgpu logs

I fixed this in upstream: https://github.com/gfx-rs/wgpu/pull/6817

Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com>

---------

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com>
2025-01-02 14:25:33 +00:00
Samson
3d3e7a61b5
ci: Do not run bencher in MQ (#34732)
Fixes #34731

Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com>
2024-12-21 15:02:11 +00:00
Samson
626ef037f3
Update wgpu for supporting TextureView.usage (#34721)
* Update wgpu and add support for TextureView.usage

53f40794f2
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* Update expect

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* Disable wgpu logging

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* remove unused wgpu features

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* new expect

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* re

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* Update deny.toml

Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com>

---------

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com>
2024-12-21 05:18:27 +00:00
Mukilan Thiyagarajan
8a438ef644
ci: explictly install Clang 14 on Linux runners (#34718)
The nightly build jobs run on Ubuntu 20.04 to ensure the glibc version
is compatible with WPT.fyi runners. But this version of Ubuntu has an
older clang version (12) that is not compatible with mozjs.

This patch makes the nightly job for Linux explicity install Clang 14
using the KyleMayes/install-llvm-action@v2 action. The regular Linux job
still uses system Clang installation as there are failures when using
the github action.

Fixes #34713.

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2024-12-20 18:58:09 +00:00
Mukilan Thiyagarajan
adfee3daa5
mach: recreate .venv when .python-version changes (#34712)
The new images published in servo/ci-runners#12 should have `uv`
installed already and the initial build of servo triggered during the
base image construction will force the installation of the Python
version mentioned at the time of the image construction (3.12). When
.python-version changes, we can no longer use the .venv baked into the
image and must recreate the it to avoid activating the environment.

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2024-12-20 09:55:21 +00:00
Jonathan Schwender
017b12a627
Disable sccache in CI (#34692)
We have been having intermittent issues with sccache since
around the recent v0.9 release of sccache which only
appear when building mozjs from source.
Due to recent changes with readablestreams, we are not using
the prebuilt mozjs artifacts anymore and always building from
source, causing these problems to regularly block the merge
queue. Bumping SCCACHE_GHA_VERSION helps but has been observed
to only be a temporary solution until the next breakage.

Closes #34571

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
2024-12-18 21:01:56 +00:00
Jonathan Schwender
3cbc8c2442
CI: simplify self-hosted check (#34682)
* CI: simplify self-hosted check

See also the official documentation on the
runner context:

https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/accessing-contextual-information-about-workflow-runs#runner-context

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>

* Fix runner-timeout

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>

---------

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
2024-12-18 09:32:40 +00:00