Skip to content

Instantly share code, notes, and snippets.

@rhelmer
Last active September 15, 2018 22:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rhelmer/4b453f612fc13eacef33654db3cb065b to your computer and use it in GitHub Desktop.
Save rhelmer/4b453f612fc13eacef33654db3cb065b to your computer and use it in GitHub Desktop.
  1. Clone the gecko-dev (git version of mozilla-central) repository. It is quite large so only clone the latest 100 revisions:
$ git clone --depth=100 https://github.com/mozilla/gecko-dev
$ cd gecko-dev
  1. Install dependencies needed to build Firefox:
$ ./mach bootstrap
  1. Create a file called mozconfig with the following contents:
# Automatically download and use already-compiled C++ components
ac_add_options --enable-artifact-builds
  1. Build Firefox:
$ ./mach build
  1. Place extension XPIs into testing/profiles/common/extensions
  2. Run tests:
$ ./mach test
  1. Push to tryserver CI (requires access):
$ git commit -m"work in progress, testing on tryserver" .
# build debug+opt, desktop platforms, all perf tests, all unit tests
$ ./mach try -b do -p linux64,macosx64,win64 -t all -u all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment