Buildbot: Difference between revisions

From Dolphin Emulator Wiki
Jump to navigation Jump to search
(add instructions for downloading pull request builds at the request of ryanebola16 here: https://forums.dolphin-emu.org/Thread-editing-dolphin-s-wiki?pid=454682#pid454682)
m (→‎Links: fix waterfall link)
 
Line 29: Line 29:
== Links ==
== Links ==
* [https://buildbot.dolphin-emu.org/ Dolphin Buildbot]
* [https://buildbot.dolphin-emu.org/ Dolphin Buildbot]
* [https://buildbot.dolphin-emu.org/waterfall Waterfall view of recent builds]
* [https://buildbot.dolphin-emu.org/#/waterfall Waterfall view of recent builds]
* [https://dl.dolphin-emu.org/wips/ Directory with built packages]
* [https://dl.dolphin-emu.org/wips/ Directory with built packages]
* [http://buildbot.net/ Buildbot homepage]
* [http://buildbot.net/ Buildbot homepage]


[[Category:Development]]
[[Category:Development]]

Latest revision as of 04:35, 24 November 2019

Buildbot is a continuous integration framework that we use to build Dolphin patches on different platforms. Builds can be triggered automatically (e.g., when a whitelisted GitHub user creates/updates a pull request) or manually (e.g., using the Tools/buildbot-try.sh helper script). Ping delroth on IRC to get access.

Downloading Pull Request (PR) Builds

Windows, macOS and Android PR builds can be downloaded for testing purposes on their respective pull request by following these steps:

  1. Click "Show all checks" near the bottom of a PR.
  2. Find the appropriate build for your operating system and click "Details".
  3. Click the link that starts with "pr-XXXX-dolphin-latest" to download the PR build, where XXXX is the PR number.

Configuration File

Use this template to create a ~/.buildbot/options file:

try_connect = 'pb'
try_master = 'buildbot.dolphin-emu.org:8031'
try_username = '<user>'
try_password = '<password>'
try_who = '<realname>'
# See https://buildbot.dolphin-emu.org/builders for the up-to-date list of WIP builders.
try_builders = ['wip-win-x64', 'wip-osx-x64', 'wip-deb-x64', 'wip-ubu-x64', 'wip-android']
try_vc = 'git'

from twisted.spread import banana
# Allow patches larger than 640 KiB.
banana.SIZE_LIMIT = 100 * 1024 * 1024

To override the try_builders setting use one or more --builder parameters.

Links