Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Use Xvfb for Linux desktop tests #2750

Merged
merged 2 commits into from
May 12, 2020
Merged
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
2 changes: 2 additions & 0 deletions .ci/Dockerfile-LinuxDesktop
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,7 @@ RUN sudo apt-get update && sudo apt-get install -y google-cloud-sdk && \
gcloud config set core/disable_usage_reporting true && \
gcloud config set component_manager/disable_update_check true

# Install xvfb to allow running headless
RUN sudo apt-get install -y xvfb libegl1-mesa
# Install Linux desktop requirements.
RUN sudo apt-get install -y clang make cmake ninja-build rsync pkg-config
2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ task:
# TODO(stuartmorgan): Include stable once Linux is supported on stable.
- flutter channel master
- ./script/incremental_build.sh build-examples --linux
- ./script/incremental_build.sh drive-examples --linux
- xvfb-run ./script/incremental_build.sh drive-examples --linux

task:
# don't run on release tags since it creates O(n^2) tasks where n is the number of plugins
Expand Down