Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linux-buildbot: Generate AppImages #198

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions containers/ubuntu-lts-builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ RUN apt install -y \
libxi-dev libpangocairo-1.0-0 qt6-base-dev qt6-base-private-dev \
libqt6svg6-dev libbluetooth-dev libasound2-dev libpulse-dev libgl1-mesa-dev

# AppImage packaging dependencies
RUN apt install -y file desktop-file-utils

# Android build dependencies
RUN apt install -y openjdk-11-jdk-headless openjdk-17-jdk-headless

Expand Down
10 changes: 10 additions & 0 deletions roles/buildbot/etc/master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ def make_dolphin_linux_build(mode="normal"):
pr = "pr" in mode
fifoci_golden = "fifoci_golden" in mode
generic = "generic" in mode
appimage = "appimage" in mode

f.addStep(GitNoBranch(repourl="https://github.com/dolphin-emu/dolphin.git",
progress=True, mode="incremental"))
Expand All @@ -489,6 +490,8 @@ def make_dolphin_linux_build(mode="normal"):
cmake_cmd.append("-DFASTLOG=ON")
if generic:
cmake_cmd.append("-DENABLE_GENERIC=ON")
if appimage:
cmake_cmd.append("-DLINUX_LOCAL_DEV=true -DCMAKE_INSTALL_PREFIX=/usr")
cmake_cmd.append("-DDISTRIBUTOR=dolphin-emu.org")
f.addStep(ShellCommand(command=cmake_cmd,
workdir="build/build",
Expand All @@ -508,6 +511,13 @@ def make_dolphin_linux_build(mode="normal"):
descriptionDone="test",
haltOnFailure=True))

if appimage:
f.addStep(ShellCommand(command="../BuildLinuxAppImage.sh",
workdir="build/build",
description="Creating AppImage",
descriptionDone="Create AppImage",
haltOnFailure=True,
hideStepIf=StepWasSuccessful))
if fifoci_golden and pr:
f.addStep(Trigger(schedulerNames=["pr-fifoci-lin"],
copy_properties=["pr_id", "repo", "headrev", "branchname", "shortrev"],
Expand Down