Commit Graph

40 Commits

Author SHA1 Message Date
Andrey Lushnikov af33d713ad
devops: fix Firefox-Beta build the same way we fix FF Stable (#16146)
Drive-by: add missing `ff-beta-ubuntu-20.04-arm64` build
2022-08-02 07:27:51 -07:00
Max Schmitt 99cc3869d2
devops: be compatible with multiple MSVS installations (#16121) 2022-08-01 23:37:07 +02:00
Andrey Lushnikov 792aa6a080
devops: fix FF build on MacOS (#16023)
It looks like FF on MacOS requires the `--enable-bootstrap`
flag instead of the original dance with the master branch.
2022-07-28 10:49:34 -07:00
Andrey Lushnikov 96574e49eb
devops: fix Firefox build on Linux (#16022)
Prebuilt WASI sysroot is not availabe any more, so this patch
disables sandboxing via WASI for now in our builds.

I tried compiling WASI manually, but it didn't work out for me
for some reason.
2022-07-28 08:04:44 -07:00
Andrey Lushnikov 618941fc68
devops: make `--debug` as a CLI argument for FF build scripts (#15833) 2022-07-21 16:20:09 -07:00
Andrey Lushnikov f76fb3e08a
devops: add firefox debian build (#15568) 2022-07-12 05:12:51 -07:00
Andrey Lushnikov 3b269d0ed7
browser(ff-beta): roll Firefox-Beta to 103.0b5 (#15394) 2022-07-05 15:47:35 -07:00
Andrey Lushnikov 571b642670
devops: fix firefox-beta build on Ubuntu 20.04 & 22.04 (#15175)
devops: fix firefox-beta build

References #15174
2022-06-28 05:40:58 -07:00
Andrey Lushnikov 59c7e7aaa4
devops: fix firefox-beta build (#14495)
This patch:
- fixes firefox-beta archiving that requires 2 extra env variables
- attempts to use windows paths to specify `MOZ_FETCHES_DIR` on
  Windows to point to the toolchains folder.
2022-05-31 01:50:04 -07:00
Andrey Lushnikov f99c3bb977
devops(ff-beta): fix build to use bootstrapped toolchains (#14491)
This is a follow-up to a7a7644beb
that started bootstrapping toolchains from `master` branch.

Now, we have to explicitly use these toolchains when building
Firefox.
2022-05-31 00:22:01 -07:00
Andrey Lushnikov 98469d70c4
devops: bump cbindgen required version for Firefox-Beta (#14287) 2022-05-19 08:36:40 -07:00
Andrey Lushnikov a7a7644beb
devops: fix firefox-beta build (#14282)
It turns out that we can only bootstrap Firefox toolchains
from latest commits.

So in case of a full build, we have to fetch latest commit
from `master`, bootstrap from it, and then build the commit we'd like.
2022-05-19 08:08:46 -07:00
Andrey Lushnikov c3d82c278d
browser(ff-beta): roll Firefox beta to 101.0b8 (#14196)
Pretty diff: https://github.com/aslushnikov/juggler/tree/roll-beta-to-101
2022-05-16 08:39:02 -07:00
Andrey Lushnikov 3b159b45ff
chore: consolidate xcode versions across operating systems and builds (#13708)
A single place with all listed required xcode versions makes it
easier to manage XCode on bots.
2022-04-25 06:35:26 -07:00
Andrey Lushnikov ec4ebefbd6
chore: use helper functions to define platforms (#13707)
This is to make code less error-prone due to involved windows
detection.
2022-04-22 12:35:35 -07:00
liuxingbaoyu 297edb02f1
devops: support msys2 (#13194) 2022-03-31 15:09:38 -07:00
Andrey Lushnikov c1c44055f8
devops: move everyone to use xcode 13.2 (#12788) 2022-03-15 10:44:53 -07:00
Andrey Lushnikov 71a4f69acf
devops: fix firefox-beta build on Windows 10 (#12477)
Instead of using 64-bit version of MINGW that comes with Git Bash,
we now switch to the one provided by the mozilla-build on windows,
which is 32-bit.

This patch also reverts the previous attempt that was defining the library names
for redistribution. It should work without them as well.

References #12225
2022-03-02 19:30:29 -08:00
Andrey Lushnikov 5827fb504b
devops: fix firefox-beta compilation on windows (#12444) 2022-03-01 12:44:07 -08:00
Andrey Lushnikov 66eda836c9
browser(ff-beta): roll Firefox-Beta to 98b10 (#12421)
Firefox reverted the third-party cookies recently:
https://bugzilla.mozilla.org/show_bug.cgi?id=1751435

Thus changes in tests.

References #12225
2022-03-01 00:17:33 -08:00
Andrey Lushnikov b17f2a86da
devops: attempt to build firefox without maintenanceservice.exe (#11663) 2022-01-26 17:29:53 -08:00
Andrey Lushnikov cb79cd88a9
browser(firefox): use pre-downloaded toolchains for release builds (#10929) 2021-12-15 08:31:33 -08:00
Andrey Lushnikov 3791065b8e
browser(firefox-beta): remove use of `mach create-mach-environment` (#10931)
This command has been removed and is no longer needed: abeedf3bbd (diff-080f2a5f770785d46fa3a2404de9430136a5a6c5a4739dab3c47cfbd7421ce79)
2021-12-15 00:28:20 -08:00
Andrey Lushnikov 2a8801be1e
browser(firefox): fix Firefox crashes (#10904)
Review URL: aff16fc8e4

This patch fixes 2 firefox crashers:
- color scheme override code was not used, but was called
  from multiple threads, which caused a weakptr use violation (cannot
  be used from multiple threads)
- snapshot listener callback was reset asynchronously, so when
  `HeadlessWindowCapturer` was destroyed, it was still occasionally
  called (see `HeadlessWindowCapturer::~HeadlessWindowCapturer`)

With this patch, I no londer experience tracing crashes in firefox.

References #10259
2021-12-13 21:23:25 -08:00
Andrey Lushnikov 027ecd80d0
devops: fix Firefox builds on MacOS 12 (#10865)
We don't need this yet for our build bots, but I happen to run MacOS 12
now.
2021-12-10 11:46:10 -08:00
Andrey Lushnikov 2313fcdd91
browser(ff-beta): roll Firefox Beta to M95 (#10089)
Pretty diff: 683d58698f
2021-12-06 15:19:22 -08:00
Andrey Lushnikov 47d9b23949
devops: drop infra for building 32-bit windows browsers (#9834) 2021-10-27 17:20:23 -07:00
Andrey Lushnikov a80fa08698
devops: move Firefox and WebKit checkouts to $HOME (#9485)
This moves default Firefox and WebKit checkouts to $HOME folder,
unless browser specific env variables are specified.

In other words:
- Firefox checkouts goes to `$HOME/firefox` unless there's a
  `$FF_CHECKOUT_PATH` that specifies a custom location.
- WebKit checkout goes to `$HOME/webkit` unless there's a
  `$WK_CHECKOUT_PATH` that specifies a custom location.

With this change, all build bots will now re-use checkouts
between builds, which should speed up compilation.
2021-10-14 10:20:06 -07:00
Andrey Lushnikov 115b37e989
browser(firefox-beta): fix Firefox Beta compilation (#9497) 2021-10-14 01:41:03 -07:00
Andrey Lushnikov 87f120fa35
devops: stop using MacOS 10.12 SDK when building Firefox (#9452)
An investigation has shown, that:
- Official Firefox builds actually cross-compile from Linux to MacOS,
  and for this reason use the old MacOS 10.12 SDK.
- We should be able to build with 11+ SDK just fine; read [primer on
  MacOS SDKs] for details.
- A random `symbol '___darwin_check_fd_set_overflow' not supported`
  error seems to be an [apple bug]. We can fix it using
  `LDFLAGS="-Wl,-U,___darwin_check_fd_set_overflow"`
  flag, similarly to [haskell compiler fix].

[primer on MacOS SDKs]: https://firefox-source-docs.mozilla.org/widget/cocoa/sdks.html
[apple bug]: https://openradar.appspot.com/FB7647406
[haskell compiler fix]: 7745638702
2021-10-12 13:23:43 -07:00
Andrey Lushnikov d278675a62
devops: start using Xcode 13 to compile Firefox (#9401)
It didn't compile withh Xcode 12.2, but does compile with Xcode 13
locally for me.

Moving on to Xcode 13 then.
2021-10-08 13:05:32 -07:00
Andrey Lushnikov 120e919b8e
devops: move building Firefox for Mac Intel to MacOS 11 (#9383) 2021-10-07 16:23:00 -07:00
Max Schmitt 5953472899
devops: fix --full command in FF which installs deps (#8878)
Broken since https://github.com/microsoft/playwright/pull/8049

Previously when doing `build.sh --full` it was installing deps + building. Currently when passing `--full` it does not install the deps before, since it tries to compile before.
2021-09-13 08:01:35 -07:00
Andrey Lushnikov 06b69f6a97
browser(firefox): disable background tasks and updater for firefox (#8773)
References #8536
2021-09-08 06:15:22 -07:00
Andrey Lushnikov b1b4d7b819
chore: quote all bash variables when used (#8066)
This way bash won't expand and post-process variable values in any way.
The changes are driven with
[`shellcheck`](https://github.com/koalaman/shellcheck)
2021-08-07 05:32:18 -07:00
Andrey Lushnikov 477ef552fb
devops(ff-beta): fix rust installation while building firefox (#8049) 2021-08-06 10:16:14 -07:00
Andrey Lushnikov 08a447e90f
browser(firefox-beta): roll ff-beta to v91.0.b10 (#7968)
Notable changes:
- javaScriptEnabled moved to the browser side.
- enabling new UI since it no longer helps to fix screencast

Review branch: https://github.com/aslushnikov/juggler/tree/roll-to-91-0-b10

Note: this will have 2 screencast tests failing. Investigation is in a follow-up.
2021-08-03 09:15:52 -07:00
Andrey Lushnikov 34777853f7
devops: enforce hard xcode version match for browser builds (#7591)
Browsers require particular xcode versions to be installed on the host
machine to produce successful build.

This patch starts using explicit xcode versions for all mac browser
builds.
2021-07-13 18:12:53 -07:00
Andrey Lushnikov eda097f5e5
devops: fix Firefox build on Apple Silicon (#7068) 2021-06-11 02:04:08 -07:00
Andrey Lushnikov 12d8c54e99
chore: swap firefox-stable and firefox (#6950)
With this patch:
- `//browser_patches/firefox` becomes firefox-stable
- `//browser_patches/firefox-stable` becomes firefox-beta

References #6817
2021-06-07 17:05:51 -07:00