aboutsummaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Use `ruff` to enforce python code formatting (#37117)zefr0x13 days25-978/+942
| | | | | | | | | | Requires servo/servo#37045 for deps and config. Testing: No need for tests to test tests. Fixes: servo/servo#37041 --------- Signed-off-by: zefr0x <zer0-x.7ty50@aleeas.com>
* use ruff rather than flake8 for python code linting (#37045)zefr0x2025-05-241-1/+1
| | | | | | | | | | The initially used config is compatible with flake8 rules, including all pycodestyle (pep8) and pyflakes rules. Testing: Broke some python files and used `mach test-tidy --all` to test the linting. Fixes: servo/servo#37041 Signed-off-by: zefr0x <zer0-x.7ty50@aleeas.com>
* Devtools parser: reassemble fragmented messages (#36033)Delan Azabani2025-03-293-27/+129
| | | | | | | | | | | | | | | * Devtools parser: reassemble fragmented messages Co-authored-by: Aria Edmonds <8436007+ar1a@users.noreply.github.com> Signed-off-by: Delan Azabani <dazabani@igalia.com> * Enable devtools parser tests on Linux only for now Signed-off-by: Delan Azabani <dazabani@igalia.com> --------- Signed-off-by: Delan Azabani <dazabani@igalia.com> Co-authored-by: Aria Edmonds <8436007+ar1a@users.noreply.github.com>
* Devtools parser: add --json output mode (#36032)Delan Azabani2025-03-191-7/+20
| | | Signed-off-by: Delan Azabani <dazabani@igalia.com>
* feat: Track the binary size for all the different platforms (#34744)DK Liao2025-01-201-1/+2
| | | | | | | | | | | | | | | | | | | * 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>
* Add linux-pref job (#33261)Samson2024-12-061-0/+58
| | | | | | Job will do some performance benchmarks (Dromeo, Speedometer) and mesure binary size and will report results to bencher.dev Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> Co-authored-by: DK Liao <dklassic@gmail.com>
* Remove etc/shell.nix in favour of shell.nix (#34336)Delan Azabani2024-11-221-1/+0
| | | Signed-off-by: Delan Azabani <dazabani@igalia.com>
* Fix nix-shell without an explicit path (#34327)Delan Azabani2024-11-211-183/+1
| | | Signed-off-by: Delan Azabani <dazabani@igalia.com>
* Exclude `crown` from the root Cargo workspace (#34173)Samson2024-11-081-40/+5
| | | | | | | | | | | | | | | * Exclude crown from workspace Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Update shell.nix and remove filterlock Signed-off-by: Delan Azabani <dazabani@igalia.com> --------- Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> Signed-off-by: Delan Azabani <dazabani@igalia.com> Co-authored-by: Delan Azabani <dazabani@igalia.com>
* servoshell: Allow overriding screen resolution with a command-line argument ↵Martin Robinson2024-10-301-2/+2
| | | | | | | | | | | | | | | | | | | | | (#34038) There is a command-line argument to override the default window size, but not one for overriding the default screen resolution. This is important for testing pages that use screen size to have different behavior. In addition to adding the new option this change: - Renames the `--resolution` command-line argument to `--window-size` to remove ambiguity with the `--screen-size` argument. - Passes the screen size as device independent (device pixels scaled by HiDPI factor) to Servo internals. Not only it make it simpler to pass the `--window-size` override, it makes more sense. Different screens can have different HiDPI factors and these can be different from the scale of the window. This makes the screen HiDPI factor totally independent of the one that Servo uses for the window. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
* Upgrade Android Gradle (#33681)Clocks2024-10-091-1/+1
| | | | | | | | | | | | | | | | | | | * Upgrade to Gradle 8.9 Gradle 8.0 is no longer supported by Android Studio. Signed-off-by: clocks <doomsdayrs@gmail.com> * Upgrade to AGP to 8.7 Signed-off-by: clocks <doomsdayrs@gmail.com> * Update to Android Build Tools 34.0.0 Signed-off-by: clocks <doomsdayrs@gmail.com> --------- Signed-off-by: clocks <doomsdayrs@gmail.com>
* do WPT reports as GitHub job summery (#33587)Samson2024-10-021-4/+13
| | | | | | this is less user friendly as GitHub checks but has bigger content limits Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* Update Rust to 1.80.1 (#33008)Samson2024-08-121-1/+1
| | | | | | | | | | | | | * Update rust to 1.80.1 Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Update shell.nix Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> --------- Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
* Update to rust 1.80.0 (#32896)Hayashi Mikihiro2024-08-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update for nix Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com> * Update to Rust 1.80.0 Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com> * Rename to BindingMode from BindingAnnotation https://github.com/rust-lang/rust/pull/124047 Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com> * Remove TypeVariableOriginKind https://github.com/rust-lang/rust/pull/123016 Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com> * Remove TypeVariableOrigin https://github.com/rust-lang/rust/pull/124955 Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com> * Remove LintDiagnostic::msg rust-lang/rust#125410 Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com> * common.rs fmt mistake indents Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com> * trace_in_no_trace.rs remove mistake space Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com> * trace_in_no_trace.rs remove mistake head space Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com> * Workaround for https://github.com/servo/servo/issues/32912 It's dirty but it worked on 2000 runs Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> --------- Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com> Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> Co-authored-by: Samson <16504129+sagudev@users.noreply.github.com>
* Nix: Bump nixpkgs (#32945)eri2024-08-051-1/+1
| | | Signed-off-by: eri <eri@inventati.org>
* Update mozjs (SpiderMonkey) to 128.0 (#32769)Samson2024-07-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update mozjs Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Fix changed readTransfer callback https://bugzilla.mozilla.org/show_bug.cgi?id=1842713 Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Use NewExternalArrayBuffer from glue https://github.com/servo/mozjs/pull/474/commits/d33454be74ec5b8d8faf51fab3ed477b8913898b Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Fix columnorigin and filename being in latin1 Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * fixup newexternalarray Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Float16 (this might require more work for codegen support) https://bugzilla.mozilla.org/show_bug.cgi?id=1833647 Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * js.strict is removed https://bugzilla.mozilla.org/show_bug.cgi?id=1621603 Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * asm options are now somewhere else https://hg.mozilla.org/mozilla-central/rev/26045c88e3972957087d535e7f259e08857bd2a2 Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Comment out offthread compilation Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Set NDK to 26 Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Fix 1-origin handling Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Expect `FinalizationRegistry` interface Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Good expectations Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * more expectations Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Add `WeakRef` to interfaces expectation Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * mozjs upgrade: fixes for Android Android NDK's layout has changed in r26 and 'lib64' no longer exists under `toolchain/llvm/prebuilt/linux-x86_64`. The libraries that used to be it are now present in `lib` folder itself. This patch updates the build configuration to use the `lib` folder instead when configuring the LIBCLANG_PATH environment variable. This patch also updates to a newer mozjs version that includes fixes for linker errors faced on Android (see #32769). Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * Patch libz-sys & update mozjs Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * update NDK version in README Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * Use servo/mozjs Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Update mozjs again Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> --------- Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
* Bump nixpkgs and add cargo-deny in shell.nix (#32842)Mukilan Thiyagarajan2024-07-241-1/+2
| | | | | | | | | | | | | | | | | * build: bump the nixpkgs snapshot We need Android NDK r26c for the SM upgrade (#32769) and the fix in nixpkgs to make r26 NDKs function correctly (NixOS/nixpkgs#298285). Both of those are not available in the snapshot of nixpkgs we use currently. Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * add cargo-deny to shell.nix Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> --------- Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
* Update in-tree docs to point to the new book (#32743)Delan Azabani2024-07-091-2/+2
| | | | | | | * Update in-tree docs to point to the new book * Revive build setup section in README as quickstart guide * Apply feedback about titles
* DevTools: Add parser tool (#32684)eri2024-07-041-0/+186
| | | | | * feat: add devtools parser tool * feat: improve documentation
* android: Rename the Android app to reflect servo.org ownership and ↵Martin Robinson2024-06-241-3/+3
| | | | | `servoshell` (#32554) Signed-off-by: Martin Robinson <mrobinson@igalia.com>
* Move android port code to servoshell (#32533)Jonathan Schwender2024-06-192-2/+2
| | | | Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com> Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
* Signed-off-by: Rexiel Scarlet ↵Rexiel Scarlet2024-06-131-3/+3
| | | | | | <37258415+Rexcrazy804@users.noreply.github.com> (#32468) Shell.nix: cleaned up unused rec instances + tidied up LIBCLANG_PATH using makeLibraryPath.
* Update to Rust 1.78 (#32217)Samson2024-06-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update to rust 1.78 * Update crown for rust 1.78 * rust 1.78 is now stable * Update for nix * Update comment Co-authored-by: Martin Robinson <mrobinson@igalia.com> * Update support/crown/src/common.rs * Update support/crown/Cargo.toml * Update support/crown/src/common.rs * Fix ipc problem * Update ipc-channel to 0.18.1 * fixed fixme --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* nix build: replace `fetchCargoTarball` with `importCargoLock` (#31825)Mukilan Thiyagarajan2024-03-251-14/+4
| | | | | | | | | | | | [`importCargoLock`][1] allows us to use the existing Cargo.lock file. This means we no longer need to update the sha256 hash whenever the dependencies are upgraded. It also integrates with nix's rustToolchain support via `cargoSetupHooks` and automatically vendors the dependencies, allowing us to simplify the logic for `filterlock` derivation. [1]: https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/rust.section.md#vendoring-of-dependencies-vendoring-of-dependencies Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
* Use --locked when building in CI (#31720)Oriol Brufau2024-03-211-13/+0
| | | | | | | Thus the build will immediately fail if a PR modifies Cargo.toml but forgets to include the changes in Cargo.lock This was previously checked by lockfile_changed.sh after building normally, wasting resources.
* Escaped reporting (#31691)Samson2024-03-151-3/+6
|
* Add gstreamer plugins good/ugly for better codec support (#31687)Delan Azabani2024-03-151-0/+2
| | | | | * NixOS: add gst-plugins-{good,ugly} for better codec support * Add gstreamer plugins good/ugly to all other package lists
* shell.nix: update filterlock hash (#31515)Smitty2024-03-061-1/+1
| | | Signed-off-by: syvb <me@iter.ca>
* Move Stylo to its own repo (#31350)Delan Azabani2024-02-271-58/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove packages that were moved to external repo * Add workspace dependencies pointing to 2023-06-14 branch * Fix servo-tidy.toml errors * Update commit to include #31346 * Update commit to include servo/stylo#2 * Move css-properties.json lookup to target/doc/stylo * Remove dependency on vendored mako in favour of pypi dependency This also removes etc/ci/generate_workflow.py, which has been unused since at least 9e71bd6a7010d6e5723831696ae0ebe26b47682f. * Add temporary code to debug Windows test failures * Fix failures on Windows due to custom target dir * Update commit to include servo/stylo#3 * Fix license in tests/unit/style/build.rs * Document how to build with local Stylo in Cargo.toml
* install libudev-dev required by gamepad API (#31376)Mukilan Thiyagarajan2024-02-191-0/+2
| | | | | | | | | | | | | | Ubuntu 20.04 does not have libudev-dev causing build failure when compiling libudev-sys, which is in-turn needed by gilrs-core. Similarly, nix build also needs the udev C library. On Ubuntu 22.04, we don't see the build failures since the build dependency 'libgstreamer-plugins-base-1.0-dev' transitively pulls in libudev-dev. Fixes #31373 Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
* mach: fix shell.nix to actually include android pkgs (#31279)Mukilan Thiyagarajan2024-02-081-7/+8
| | | | | | | Fix issue with precedence due to which the android environment variables were being added to the output of mkDerivation instead of the input attribute set. Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
* Convert etc/profilicate.py to Python 3 (#31259)Smitty2024-02-051-4/+4
|
* Make Android build optional on Nix (#31231)Smitty2024-02-021-11/+13
| | | | | | | | | | | | | | | * Make Android build optional on Nix I want to build Servo without also installing the entire Android SDK. This makes it so Android support is only built if `buildAndroid` is true. Signed-off-by: syvb <me@iter.ca> * Add Android support to nix-shell if SERVO_ANDROID_BUILD set --------- Signed-off-by: syvb <me@iter.ca>
* Preliminary Android build support (#31086)Mukilan Thiyagarajan2024-01-222-3/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Android build * Fixes * More fixes - Still failing in the linking step * More work on getting linking working Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * android: use mozjs with ndk r25c. loads servo.org more android build fixes. * fix ./mach run for android and make it follow logs Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * add experimental logic for compositor pause/resume Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * pass DPI from android to simpleservo Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * ci: add android workflow Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * switch to ANDROID_SDK_ROOT and ANDROID_NDK_ROOT vars Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * upgrade gradle to 4.10.1 Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * upgrade to gradle 5.1.1 Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * upgrade to gradle 8 and agp 8 Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * make compositing work again with external present Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * android: improve mach support for non-NixOS and CI Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * fix sampler compilation bug introduced in #30490 Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * ci: add android build to main workflow Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * gradle: set MinSdk = targetSdk = 30 NDK requires we compile against the minSdk API level which is 30 in our case. Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * add instructions for android in README.md Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * apk: move servosurface to servoview Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * apk: uncomment the mediasession callbacks on MainActivity Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * apk: fix crash on MainAtivity.onDestroy Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * apk: drop VR, arm 5 and unused code This commit drops: * support for google, oculusvr * support for arm5 architecture and also removes * fakeld scripts * unused java code Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * cleanup shell.nix Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * android: add FIXMEs for gstreamer code Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * apk: remove commented code and debug logs Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * cleanup ServoView.java Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * mach: comment call to download gstreamer deps for android Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * disable bluetooth for jniapi as blurdroid is broken Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * fixup! README.md * fixup! remove change in Cargo.toml * fixup! move shell variables together * fixup! cleanup jniapi/Cargo.toml comments * delete commented gstreamer related android code Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * remove unused config variable in servbuild Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * android: more cleanup Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * force no_static_freetype only for android * use actions to manage sdk, ndk and java Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * rename embedder event names to be more clear. Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * link to startup crash issue Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * fix lint issues Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * upgrade env_logger to 0.10 with duplicate exception libservo and android_logger can use env_logger 0.10 but quickcheck is still stuck on 0.8 and has not seen any activity in the last 2 years. This commit adds a duplicate exception until the quickcheck dependency can be upgraded (or replaced) Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * android: fix comments Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * disable jemalloc on android Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * fixup! replace linux with android in cfg --------- Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* Nix: bump nixpkgs to nixos-unstable (#31055)Delan Azabani2024-01-111-2/+9
| | | | | | | | | | | * Nix: bump nixpkgs to nixos-unstable (except gnumake + clang) * we can get clang 11 from nixos-unstable * bump clang to 15 * simplify approach now that we get clang from nixos-unstable * drop clang to version 14 (#31059)
* Nix: bump nixpkgs to nixos-23.05 (except gnumake) (#31052)Delan Azabani2024-01-101-2/+6
| | | | | | | | | * Nix: bump nixpkgs to nixos-23.05 (except gnumake) * try nixos-unstable except clangStdenv + LIBCLANG_PATH * revert due to missing @GLIBC_2.38 symbols (db2f8c5d9df90b6153d27d024fa9a8e465f4c1ef)
* Allow building with Nix on Linux distros other than NixOS (#31001)Delan Azabani2024-01-091-5/+50
| | | | | | | | | | | | | | | | | | | | | | | | | * remove NixOS check from mach wrapper * pin nixpkgs to fix jemalloc-sys + mozangle build scripts * add stdenv.cc.cc to LD_LIBRARY_PATH to fix webrender build.rs * add all buildInputs to LD_LIBRARY_PATH to fix ldd servo * add glib + zlib to buildInputs to fix ldd servo * working! patchelf --remove-rpath --set-interpreter * undo changes that were ultimately unhelpful * make compiled programs independent of Nix * avoid installing patchelf’d toolchains in ~/.rustup * remove another spurious change * fix rustup pollution * only enable on other distros when MACH_USE_NIX is set
* Fix crown on NixOS (#30987)Delan Azabani2024-01-051-3/+70
| | | | | | | | | | | | | | | | | | | | | * Fix crown on NixOS * no need to install libs, because there are none * fix program name in usage message * use the cargo provided by each buildPhase * cargo update --offline can be used to reformat lockfiles * document how to keep rust-toolchain.toml and etc/shell.nix in sync * clarify comment about allowBuiltinFetchGit * fix license * clarify purpose of filterlock * explain why crown must not use workspace dependencies
* Fail gracefully when DMG smoketest fails (#30975)Martin Robinson2024-01-021-1/+4
| | | | | | | | | It seems that timing issues (related to MacOS or the GitHub MacOS) runners can sometimes cause `hdiutil detach` to fail. Instead of having this cause the entire build to fail, fail gracefully. This is essentially a non-issue as the CI environment is always cleaned up when using GitHub Actions. Fixes #30757.
* Improve formatting of Python files (#30919)Taym Haddadi2023-12-245-32/+32
| | | Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>
* Update branch name to main (#30877)Alex Touchet2023-12-164-10/+10
|
* Replace virtualenv with Python's built-in venv (#30377)Corey Farwell2023-12-071-10/+0
| | | | | | | | | | | | | | | | | | * Replace virtualenv with Python's built-in venv. * Apply Delan's suggestions and make a couple small fixes - Fix a tidy warning about directories that don't exist - Use shutil instead of the redundant get_exec_path - Miscellaneous cleanups * Fix typo in environment variable * fix bug where pip still tries to the wrong site-packages --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: Delan Azabani <dazabani@igalia.com>
* Remove some stray references to OpenSSL (#30710)Martin Robinson2023-11-091-1/+1
| | | These were left over from the change to use rustls.
* Remove `__future__` imports that are no longer necessary (#30661)Martin Robinson2023-11-022-4/+0
| | | These are no longer necessary as we always use Python 3.
* Allow trigger try workfows using labels (#30383)Martin Robinson2023-10-231-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds and alternate method for triggering try changes. Instead of comments, changes are triggered via applying labels to pull requests. The action will remove the label from the request and start the requested jobs. This will require creating at least a few labels: - T-full - T-linux-wpt-2013 - T-linux-wpt-2020 - T-macos - T-windows More labels can be added as we support more configurations. The good thing about this change is that try jobs against the actual branch in the pull request instead of the master branch. This means that changes to CI can be tested (unlike for comment processing). One bit caveat with this change is that when adding multiple labels, a CI job is triggered for each. Only one real build will run for each label, but whether or more try jobs is triggered is a race condition. The first CI job to successfully remove the label will actually trigger the job. If the same job removes two compatible labels, then they can share a build (for instance two types of WPT linux jobs). If not there will be two. Note that this is at least as efficient as the current behavior.
* Add taplo to etc/shell.nix (#30487)Mukilan Thiyagarajan2023-10-041-0/+1
| | | | | | This addresses the 'Could not find `taplo` ...' message when running `./mach test-tidy` on NixOS. Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
* Remove some unused buildbot files (#30476)Martin Robinson2023-10-032-57/+0
|
* fix WebGPU runtime dependencies on linux (#30407)Delan Azabani2023-09-221-2/+9
|
* Use MozTools 4 and update mozjs (#30326)Samson2023-09-111-1/+1
| | | | | | | | | | | | | | | | | | | * Update mozjs * moztools4 in bootstrap * no autoconf * tidy * switch to servo-build-deps * update mozjs for real * glue mozjs * fmt * move to servo/mozjs
* Revert "Combine all try workflows (#30096)" (#30149)Martin Robinson2023-08-211-29/+16
| | | This reverts commit fed3491f23f8b7f3064ce297776deda76e485289.